aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorEugene Sandulenko2009-06-15 11:46:28 +0000
committerEugene Sandulenko2009-06-15 11:46:28 +0000
commit0ca17a7f8c79940873a4dc82537310584f03e439 (patch)
tree3eb770907973031962b42728c1387007bb8853de /backends
parentdcc5e26cab7ea7f24cfe3ac972355e2789aa67d9 (diff)
downloadscummvm-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')
-rw-r--r--backends/platform/sdl/graphics.cpp2
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()) {