SDL2: Fix fullscreen viewport bug

This commit is contained in:
Matthew Coppola 2019-11-02 23:31:23 -04:00
parent 70542137f2
commit 719a92d8a4

View File

@ -123,7 +123,7 @@ static void handle_events(GB_gameboy_t *gb)
} }
case SDL_WINDOWEVENT: { case SDL_WINDOWEVENT: {
if (event.window.event == SDL_WINDOWEVENT_RESIZED) { if (event.window.event == SDL_WINDOWEVENT_SIZE_CHANGED) {
update_viewport(); update_viewport();
} }
break; break;