[Scummvm-cvs-logs] SF.net SVN: scummvm:[38352] scummvm/trunk/backends/platform/wince/wince-sdl .cpp
knakos at users.sourceforge.net
knakos at users.sourceforge.net
Mon Feb 16 08:27:04 CET 2009
Revision: 38352
http://scummvm.svn.sourceforge.net/scummvm/?rev=38352&view=rev
Author: knakos
Date: 2009-02-16 07:27:04 +0000 (Mon, 16 Feb 2009)
Log Message:
-----------
fix random crashes on vga devices when using exotic scalers
Modified Paths:
--------------
scummvm/trunk/backends/platform/wince/wince-sdl.cpp
Modified: scummvm/trunk/backends/platform/wince/wince-sdl.cpp
===================================================================
--- scummvm/trunk/backends/platform/wince/wince-sdl.cpp 2009-02-16 07:17:36 UTC (rev 38351)
+++ scummvm/trunk/backends/platform/wince/wince-sdl.cpp 2009-02-16 07:27:04 UTC (rev 38352)
@@ -1723,7 +1723,7 @@
SDL_LockSurface(_hwscreen);
srcPitch = toolbarSurface->pitch;
dstPitch = _hwscreen->pitch;
- _scalerProc((byte *)toolbarSurface->pixels, srcPitch, (byte *)_hwscreen->pixels + (_toolbarHandler.getOffset() * _scaleFactorYm / _scaleFactorYd * dstPitch), dstPitch, toolbar_rect[0].w, toolbar_rect[0].h);
+ Normal2x((byte *)toolbarSurface->pixels, srcPitch, (byte *)_hwscreen->pixels + (_toolbarHandler.getOffset() * _scaleFactorYm / _scaleFactorYd * dstPitch), dstPitch, toolbar_rect[0].w, toolbar_rect[0].h);
SDL_UnlockSurface(toolbarSurface);
SDL_UnlockSurface(_hwscreen);
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