diff options
author | Robin Watts | 2010-03-08 22:14:57 +0000 |
---|---|---|
committer | Robin Watts | 2010-03-08 22:14:57 +0000 |
commit | 9bf5bbf9bf17b80eba2aa83447f0e6c019e36074 (patch) | |
tree | 641105933a2bb21caae216f5bd84b75f11979ee0 /backends/platform/wince | |
parent | 3366a19c37516389f312c43ae23636896ccdc5bf (diff) | |
download | scummvm-rg350-9bf5bbf9bf17b80eba2aa83447f0e6c019e36074.tar.gz scummvm-rg350-9bf5bbf9bf17b80eba2aa83447f0e6c019e36074.tar.bz2 scummvm-rg350-9bf5bbf9bf17b80eba2aa83447f0e6c019e36074.zip |
Move gBitFormat definition so it works in both sizes of an ifdef.
svn-id: r48205
Diffstat (limited to 'backends/platform/wince')
-rw-r--r-- | backends/platform/wince/CEScaler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/wince/CEScaler.cpp b/backends/platform/wince/CEScaler.cpp index a8f5931e79..fd47635e05 100644 --- a/backends/platform/wince/CEScaler.cpp +++ b/backends/platform/wince/CEScaler.cpp @@ -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 SmartphoneLandscapeTemplate(const uint8 *srcPtr, uint32 srcPitch, uint8 *ds } 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 |