disable multi viewports

This commit is contained in:
2025-03-29 23:53:05 -05:00
parent c4b1c4e8e7
commit 64636c2771

View File

@@ -54,11 +54,11 @@ void TestImgui::run() {
window->getRenderer().addRenderCmd([](){ window->getRenderer().addRenderCmd([](){
ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData()); ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData());
if (ImGui::GetIO().ConfigFlags & ImGuiConfigFlags_ViewportsEnable) /*if (ImGui::GetIO().ConfigFlags & ImGuiConfigFlags_ViewportsEnable)
{ {
ImGui::UpdatePlatformWindows(); ImGui::UpdatePlatformWindows();
ImGui::RenderPlatformWindowsDefault(); ImGui::RenderPlatformWindowsDefault();
} }*/
}); });
if(window->shouldClose()) if(window->shouldClose())