diff options
Diffstat (limited to 'backends/sdl/sdl.cpp')
-rw-r--r-- | backends/sdl/sdl.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/backends/sdl/sdl.cpp b/backends/sdl/sdl.cpp index af2d30ad5a..b888bcf253 100644 --- a/backends/sdl/sdl.cpp +++ b/backends/sdl/sdl.cpp @@ -204,8 +204,11 @@ void OSystem_SDL::hotswap_gfx_mode() { free(old_tmpscreen->pixels); SDL_FreeSurface(old_tmpscreen); - // Finally, blit everything to the screen + // Blit everything to the screen update_screen(); + + // Make sure that an EVENT_SCREEN_CHANGED gets sent later + _modeChanged = true; } void OSystem_SDL::update_screen() { |