From d2cf43d6faa218276176c32c11b2c55263df5652 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Mon, 20 Feb 2006 14:12:59 +0000 Subject: Fixed warning when compiling with DISABLE_SCALERS svn-id: r20786 --- backends/sdl/graphics.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3