mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-27 00:34:45 +02:00
SDL2: Fix fullscreen viewport bug
This commit is contained in:
@@ -123,7 +123,7 @@ static void handle_events(GB_gameboy_t *gb)
|
||||
}
|
||||
|
||||
case SDL_WINDOWEVENT: {
|
||||
if (event.window.event == SDL_WINDOWEVENT_RESIZED) {
|
||||
if (event.window.event == SDL_WINDOWEVENT_SIZE_CHANGED) {
|
||||
update_viewport();
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user