[Scummvm-cvs-logs] SF.net SVN: scummvm: [22551] scummvm/trunk/backends/sdl/graphics.cpp
aquadran at users.sourceforge.net
aquadran at users.sourceforge.net
Sat May 20 08:44:02 CEST 2006
Revision: 22551
Author: aquadran
Date: 2006-05-20 08:43:27 -0700 (Sat, 20 May 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=22551&view=rev
Log Message:
-----------
fixed compilation when DISABLE_SCALERS
Modified Paths:
--------------
scummvm/trunk/backends/sdl/graphics.cpp
Modified: scummvm/trunk/backends/sdl/graphics.cpp
===================================================================
--- scummvm/trunk/backends/sdl/graphics.cpp 2006-05-20 15:22:17 UTC (rev 22550)
+++ scummvm/trunk/backends/sdl/graphics.cpp 2006-05-20 15:43:27 UTC (rev 22551)
@@ -1135,9 +1135,11 @@
_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);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list