mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-17 01:04:19 +00:00
Examples: OpenGL: fix for retina screens + io.DisplayFramebufferScale storage (#287)
This commit is contained in:
parent
a36001212f
commit
e58f99179a
6 changed files with 31 additions and 22 deletions
|
|
@ -678,6 +678,7 @@ ImGuiIO::ImGuiIO()
|
|||
LogFilename = "imgui_log.txt";
|
||||
Fonts = &GImDefaultFontAtlas;
|
||||
FontGlobalScale = 1.0f;
|
||||
DisplayFramebufferScale = ImVec2(1.0f, 1.0f);
|
||||
MousePos = ImVec2(-1,-1);
|
||||
MousePosPrev = ImVec2(-1,-1);
|
||||
MouseDoubleClickTime = 0.30f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue