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; }