Mac: Retina OpenGL: Fix imgui windows, right-click menu, misc

This commit is contained in:
Vojtech Kral 2019-01-24 15:44:00 +01:00
parent 3df1ed8f6b
commit 7d30323f46
3 changed files with 41 additions and 12 deletions

View file

@ -96,6 +96,7 @@ void ImGuiWrapper::render()
void ImGuiWrapper::set_next_window_pos(float x, float y, int flag)
{
ImGui::SetNextWindowPos(ImVec2(x, y), (ImGuiCond)flag);
ImGui::SetNextWindowSize(ImVec2(0.0, 0.0));
}
void ImGuiWrapper::set_next_window_bg_alpha(float alpha)