From f33ce18429b097e32a2b35dc9ecacf65cbb1e520 Mon Sep 17 00:00:00 2001 From: Sven Balzer <4653051+Kyuusokuna@users.noreply.github.com> Date: Sat, 22 Mar 2025 20:46:19 +0100 Subject: [PATCH] fix for minimized window --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index d34b1e9..7690650 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1718,6 +1718,7 @@ int main(int argc, char **argv) { SDL_CancelGPUCommandBuffer(command_buffer); ImGui::Render(); ImDrawData *draw_data = ImGui::GetDrawData(); + SDL_DelayNS(16 * SDL_NS_PER_MS); continue; }