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