[Scummvm-cvs-logs] SF.net SVN: scummvm:[48205] scummvm/trunk/backends/platform/wince/CEScaler. cpp
robinwatts at users.sourceforge.net
robinwatts at users.sourceforge.net
Mon Mar 8 23:14:57 CET 2010
Revision: 48205
http://scummvm.svn.sourceforge.net/scummvm/?rev=48205&view=rev
Author: robinwatts
Date: 2010-03-08 22:14:57 +0000 (Mon, 08 Mar 2010)
Log Message:
-----------
Move gBitFormat definition so it works in both sizes of an ifdef.
Modified Paths:
--------------
scummvm/trunk/backends/platform/wince/CEScaler.cpp
Modified: scummvm/trunk/backends/platform/wince/CEScaler.cpp
===================================================================
--- scummvm/trunk/backends/platform/wince/CEScaler.cpp 2010-03-08 21:54:54 UTC (rev 48204)
+++ scummvm/trunk/backends/platform/wince/CEScaler.cpp 2010-03-08 22:14:57 UTC (rev 48205)
@@ -25,6 +25,7 @@
#include "graphics/scaler/intern.h"
#include "CEScaler.h"
+extern int gBitFormat;
#ifdef ARM
extern "C" {
void SmartphoneLandscapeARM(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height, int mask);
@@ -80,7 +81,6 @@
}
void SmartphoneLandscape(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) {
- extern int gBitFormat;
if (gBitFormat == 565)
SmartphoneLandscapeTemplate<Graphics::ColorMasks<565> >(srcPtr, srcPitch, dstPtr, dstPitch, width, height);
else
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