mirror of
https://github.com/gopher64/gopher64.git
synced 2026-10-31 03:26:52 +01:00
don't update window when minimized (#898)
This commit is contained in:
1 parent
04b15fee2f
commit
2005fb1421
1 file changed
+3
@@ -645,6 +645,9 @@ void rdp_render_frame() {
|
||||
}
|
||||
|
||||
void rdp_update_screen() {
|
||||
if (SDL_GetWindowFlags(window) & SDL_WINDOW_MINIMIZED) {
|
||||
return;
|
||||
}
|
||||
wsi->end_frame();
|
||||
wsi->begin_frame();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user