diff options
author | Eugene Sandulenko | 2009-06-15 11:46:28 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2009-06-15 11:46:28 +0000 |
commit | 0ca17a7f8c79940873a4dc82537310584f03e439 (patch) | |
tree | 3eb770907973031962b42728c1387007bb8853de /backends/platform/sdl | |
parent | dcc5e26cab7ea7f24cfe3ac972355e2789aa67d9 (diff) | |
download | scummvm-rg350-0ca17a7f8c79940873a4dc82537310584f03e439.tar.gz scummvm-rg350-0ca17a7f8c79940873a4dc82537310584f03e439.tar.bz2 scummvm-rg350-0ca17a7f8c79940873a4dc82537310584f03e439.zip |
Fix compilation when 16BIT code is disabled.
svn-id: r41543
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r-- | backends/platform/sdl/graphics.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/platform/sdl/graphics.cpp b/backends/platform/sdl/graphics.cpp index f550621a28..2cee0ea83d 100644 --- a/backends/platform/sdl/graphics.cpp +++ b/backends/platform/sdl/graphics.cpp @@ -155,6 +155,8 @@ OSystem::TransactionError OSystem_SDL::endGFXTransaction(void) { #ifdef ENABLE_16BIT if (_transactionDetails.sizeChanged || _transactionDetails.formatChanged) { +#else + if (_transactionDetails.sizeChanged) { #endif unloadGFXMode(); if (!loadGFXMode()) { |