aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2005-03-10 15:59:31 +0000
committerEugene Sandulenko2005-03-10 15:59:31 +0000
commitcc2c2dd9313530a55aa455238c0194b316521312 (patch)
treef500b62e33e715420ca3fe4bbba2f8dad22def7c
parent0641b05f0c4f2a08799985de7433af99b67f1c27 (diff)
downloadscummvm-rg350-cc2c2dd9313530a55aa455238c0194b316521312.tar.gz
scummvm-rg350-cc2c2dd9313530a55aa455238c0194b316521312.tar.bz2
scummvm-rg350-cc2c2dd9313530a55aa455238c0194b316521312.zip
Fix bug #1160454 "ALL: Failed assertion when using 1x scaler"
svn-id: r17066
-rw-r--r--backends/sdl/graphics.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/sdl/graphics.cpp b/backends/sdl/graphics.cpp
index 44335410eb..a7e69d9c72 100644
--- a/backends/sdl/graphics.cpp
+++ b/backends/sdl/graphics.cpp
@@ -175,6 +175,7 @@ bool OSystem_SDL::setGraphicsMode(int mode) {
mode = GFX_DOUBLESIZE;
newScaleFactor = 2;
newScalerProc = Normal2x;
+ _scaleFactor = 2;
} else
return false;
}