disable multi viewports
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user