From 807f0223d724d46b5320585b11d1597a30daa0e9 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 8 Mar 2010 19:07:31 +0000 Subject: Fix compilation. svn-id: r48196 --- graphics/scaler/hq2x.cpp | 1 + graphics/scaler/hq3x.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'graphics/scaler') 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 -- cgit v1.2.3