aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2010-03-08 19:07:31 +0000
committerJohannes Schickel2010-03-08 19:07:31 +0000
commit807f0223d724d46b5320585b11d1597a30daa0e9 (patch)
tree6c82ca0122d77d6d84aba5b4604a3658837526ae
parente90f074177e83630efdafe16fe59d4d1e42ab05a (diff)
downloadscummvm-rg350-807f0223d724d46b5320585b11d1597a30daa0e9.tar.gz
scummvm-rg350-807f0223d724d46b5320585b11d1597a30daa0e9.tar.bz2
scummvm-rg350-807f0223d724d46b5320585b11d1597a30daa0e9.zip
Fix compilation.
svn-id: r48196
-rw-r--r--graphics/scaler/hq2x.cpp1
-rw-r--r--graphics/scaler/hq3x.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/graphics/scaler/hq2x.cpp b/graphics/scaler/hq2x.cpp
index c302ebe8e4..212435365c 100644
--- a/graphics/scaler/hq2x.cpp
+++ b/graphics/scaler/hq2x.cpp
@@ -114,6 +114,7 @@ void HQ2x_555(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPit
void HQ2x(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) {
+ extern int gBitFormat;
if (gBitFormat == 565)
HQ2x_565(srcPtr, srcPitch, dstPtr, dstPitch, width, height);
else
diff --git a/graphics/scaler/hq3x.cpp b/graphics/scaler/hq3x.cpp
index 83b00ee4b3..cc27719e5b 100644
--- a/graphics/scaler/hq3x.cpp
+++ b/graphics/scaler/hq3x.cpp
@@ -117,6 +117,7 @@ void HQ3x_555(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPit
void HQ3x(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) {
+ extern int gBitFormat;
if (gBitFormat == 565)
HQ3x_565(srcPtr, srcPitch, dstPtr, dstPitch, width, height);
else