Fix mode switch not actually being ignored

pull/4645/head
Luiz Henrique Laurini 4 months ago
parent 9696cdde7f
commit a3bfef6c1c
No known key found for this signature in database
GPG Key ID: 9CAD447377EDB2B6

@ -661,6 +661,7 @@ void
sc_screen_switch_fullscreen(struct sc_screen *screen) {
if (screen->is_kmsdrm && screen->fullscreen) {
LOGD("Ignored mode switch");
return;
}
uint32_t new_mode = screen->fullscreen ? 0 : SDL_WINDOW_FULLSCREEN_DESKTOP;

Loading…
Cancel
Save