diff options
author | Max Horn | 2003-09-06 20:21:54 +0000 |
---|---|---|
committer | Max Horn | 2003-09-06 20:21:54 +0000 |
commit | 6ac86b97604a6248e2e26d6bed1d046d0ff06709 (patch) | |
tree | e6524d9e64ee32825ef2fedc6ea2c5586a88442c /backends/sdl/sdl.cpp | |
parent | bbd23e60ceae570e8bd0f220257a21b01f679355 (diff) | |
download | scummvm-rg350-6ac86b97604a6248e2e26d6bed1d046d0ff06709.tar.gz scummvm-rg350-6ac86b97604a6248e2e26d6bed1d046d0ff06709.tar.bz2 scummvm-rg350-6ac86b97604a6248e2e26d6bed1d046d0ff06709.zip |
added EVENT_SCREEN_CHANGED; small tweak to the way quit is handled in NewGui
svn-id: r10047
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() { |