diff options
author | Paweł Kołodziejski | 2006-05-20 15:43:27 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2006-05-20 15:43:27 +0000 |
commit | e7a4b46479170e1436bf5c97c348c4f08a679906 (patch) | |
tree | 0c09e31b87db98dabb93f775945ff154c4a881fb /backends/sdl | |
parent | da9bf4dd717e75b911b806167df07389f3cff71b (diff) | |
download | scummvm-rg350-e7a4b46479170e1436bf5c97c348c4f08a679906.tar.gz scummvm-rg350-e7a4b46479170e1436bf5c97c348c4f08a679906.tar.bz2 scummvm-rg350-e7a4b46479170e1436bf5c97c348c4f08a679906.zip |
fixed compilation when DISABLE_SCALERS
svn-id: r22551
Diffstat (limited to 'backends/sdl')
-rw-r--r-- | backends/sdl/graphics.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/sdl/graphics.cpp b/backends/sdl/graphics.cpp index c3cba82b50..054ca9922b 100644 --- a/backends/sdl/graphics.cpp +++ b/backends/sdl/graphics.cpp @@ -1135,9 +1135,11 @@ void OSystem_SDL::clearOverlay() { _scalerProc((byte *)(_tmpscreen->pixels) + _tmpscreen->pitch + 2, _tmpscreen->pitch, (byte *)_overlayscreen->pixels, _overlayscreen->pitch, _screenWidth, _screenHeight); +#ifndef DISABLE_SCALERS if (_adjustAspectRatio) stretch200To240((uint8 *)_overlayscreen->pixels, _overlayscreen->pitch, _overlayWidth, _screenHeight * _scaleFactor, 0, 0, 0); +#endif SDL_UnlockSurface(_tmpscreen); SDL_UnlockSurface(_overlayscreen); |