aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-02-20 14:12:59 +0000
committerTorbjörn Andersson2006-02-20 14:12:59 +0000
commitd2cf43d6faa218276176c32c11b2c55263df5652 (patch)
tree4a7b7c1d8cfcdb4ef3d6d36fae539ccf5eb2c48a /backends
parent549eb83986a9991b963a6330fc51f7d563b3dc72 (diff)
downloadscummvm-rg350-d2cf43d6faa218276176c32c11b2c55263df5652.tar.gz
scummvm-rg350-d2cf43d6faa218276176c32c11b2c55263df5652.tar.bz2
scummvm-rg350-d2cf43d6faa218276176c32c11b2c55263df5652.zip
Fixed warning when compiling with DISABLE_SCALERS
svn-id: r20786
Diffstat (limited to 'backends')
-rw-r--r--backends/sdl/graphics.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/sdl/graphics.cpp b/backends/sdl/graphics.cpp
index a5fafb4c8a..a711a46cc7 100644
--- a/backends/sdl/graphics.cpp
+++ b/backends/sdl/graphics.cpp
@@ -71,7 +71,9 @@ static const int s_gfxModeSwitchTable[][4] = {
{ GFX_NORMAL, GFX_DOTMATRIX, -1, -1 }
};
+#ifndef DISABLE_SCALERS
static int cursorStretch200To240(uint8 *buf, uint32 pitch, int width, int height, int srcX, int srcY, int origSrcY);
+#endif
const OSystem::GraphicsMode *OSystem_SDL::getSupportedGraphicsModes() const {
return s_supportedGraphicsModes;