fix for minimized window
This commit is contained in:
parent
e774305829
commit
f33ce18429
@ -1718,6 +1718,7 @@ int main(int argc, char **argv) {
|
|||||||
SDL_CancelGPUCommandBuffer(command_buffer);
|
SDL_CancelGPUCommandBuffer(command_buffer);
|
||||||
ImGui::Render();
|
ImGui::Render();
|
||||||
ImDrawData *draw_data = ImGui::GetDrawData();
|
ImDrawData *draw_data = ImGui::GetDrawData();
|
||||||
|
SDL_DelayNS(16 * SDL_NS_PER_MS);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user