diff --git a/core/rend/gles/gles.cpp b/core/rend/gles/gles.cpp index 68ebb3526c..c6807ca9da 100644 --- a/core/rend/gles/gles.cpp +++ b/core/rend/gles/gles.cpp @@ -1175,7 +1175,8 @@ void OpenGLRenderer::DrawOSD(bool clear_screen) glDrawArrays(GL_TRIANGLE_STRIP, i * 4, 4); glCheck(); - imguiDriver->setFrameRendered(); + if (clear_screen) + imguiDriver->setFrameRendered(); } #endif #endif diff --git a/core/ui/mainui.cpp b/core/ui/mainui.cpp index 93cc28abce..209afaae93 100644 --- a/core/ui/mainui.cpp +++ b/core/ui/mainui.cpp @@ -93,8 +93,7 @@ void mainui_loop(bool forceStart) { fc_profiler::startThread("main"); - if (!mainui_rend_frame()) - continue; + mainui_rend_frame(); if (imguiDriver == nullptr) forceReinit = true; else