diff options
author | Johannes Schickel | 2014-01-07 01:46:28 +0100 |
---|---|---|
committer | Johannes Schickel | 2014-01-07 01:46:28 +0100 |
commit | 97953ff40d1281da7bf3d7fe466db6d317c466d5 (patch) | |
tree | b27829279f154fce611299c0c2d1e6293ed00a9c /backends/graphics/surfacesdl | |
parent | 01269c241b3ad9ae8742e12c12f64b9bb84669ee (diff) | |
download | scummvm-rg350-97953ff40d1281da7bf3d7fe466db6d317c466d5.tar.gz scummvm-rg350-97953ff40d1281da7bf3d7fe466db6d317c466d5.tar.bz2 scummvm-rg350-97953ff40d1281da7bf3d7fe466db6d317c466d5.zip |
SDL: Fix return value of getDefaultGraphicsMode when scalers are disabled.
Diffstat (limited to 'backends/graphics/surfacesdl')
-rw-r--r-- | backends/graphics/surfacesdl/surfacesdl-graphics.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp index c946b8e747..9b71a1e3a4 100644 --- a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp +++ b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp @@ -267,7 +267,11 @@ const OSystem::GraphicsMode *SurfaceSdlGraphicsManager::getSupportedGraphicsMode } int SurfaceSdlGraphicsManager::getDefaultGraphicsMode() const { +#ifdef USE_SCALERS return GFX_DOUBLESIZE; +#else + return GFX_NORMAL; +#endif } void SurfaceSdlGraphicsManager::resetGraphicsScale() { |