From 64636c277188da3037ee37a42f92ace3ce75630a Mon Sep 17 00:00:00 2001 From: Nathan Date: Sat, 29 Mar 2025 23:53:05 -0500 Subject: [PATCH] disable multi viewports --- modules/GUImodules/TestImgui/src/TestImgui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/GUImodules/TestImgui/src/TestImgui.cpp b/modules/GUImodules/TestImgui/src/TestImgui.cpp index 9b80cf1..93d5052 100644 --- a/modules/GUImodules/TestImgui/src/TestImgui.cpp +++ b/modules/GUImodules/TestImgui/src/TestImgui.cpp @@ -54,11 +54,11 @@ void TestImgui::run() { window->getRenderer().addRenderCmd([](){ ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData()); - if (ImGui::GetIO().ConfigFlags & ImGuiConfigFlags_ViewportsEnable) + /*if (ImGui::GetIO().ConfigFlags & ImGuiConfigFlags_ViewportsEnable) { ImGui::UpdatePlatformWindows(); ImGui::RenderPlatformWindowsDefault(); - } + }*/ }); if(window->shouldClose())