Viewports, DPI: Renamed config flags. (#1542)

This commit is contained in:
omar
2018-04-10 19:21:52 +02:00
parent 0d5042f0f3
commit 7ddc22b326
26 changed files with 68 additions and 68 deletions

View File

@ -50,7 +50,7 @@ bool ImGui_ImplWin32_Init(void* hwnd)
g_hWnd = (HWND)hwnd;
ImGuiViewport* main_viewport = ImGui::GetMainViewport();
main_viewport->PlatformHandle = (void*)g_hWnd;
if (io.ConfigFlags & ImGuiConfigFlags_EnableViewports)
if (io.ConfigFlags & ImGuiConfigFlags_ViewportsEnable)
ImGui_ImplWin32_InitPlatformInterface();
// Keyboard mapping. ImGui will use those indices to peek into the io.KeyDown[] array that we will update during the application lifetime.