mirror of
https://github.com/gopher64/gopher64.git
synced 2026-07-11 01:25:20 +02:00
don't update window when minimized (#898)
This commit is contained in:
@@ -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