Examples: OpenGL: fix for retina screens + io.DisplayFramebufferScale storage (#287)

This commit is contained in:
ocornut
2015-08-27 19:51:02 +01:00
parent a36001212f
commit e58f99179a
6 changed files with 31 additions and 22 deletions

View File

@ -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;