mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-19 01:24:20 +00:00
Viewports, DPI: Renamed config flags. (#1542)
This commit is contained in:
parent
0d5042f0f3
commit
7ddc22b326
26 changed files with 68 additions and 68 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue