diff options
Diffstat (limited to 'backends/sdl/sdl_gl.cpp')
-rw-r--r-- | backends/sdl/sdl_gl.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/backends/sdl/sdl_gl.cpp b/backends/sdl/sdl_gl.cpp index 15e45c875c..5df8440713 100644 --- a/backends/sdl/sdl_gl.cpp +++ b/backends/sdl/sdl_gl.cpp @@ -343,8 +343,11 @@ void OSystem_SDL_OpenGL::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_OpenGL::update_screen() { |