aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/scaler/aspect.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/scaler/aspect.cpp b/graphics/scaler/aspect.cpp
index 45efb094f0..b7d1933833 100644
--- a/graphics/scaler/aspect.cpp
+++ b/graphics/scaler/aspect.cpp
@@ -278,6 +278,7 @@ void Normal2xAspect(const uint8 *srcPtr,
uint32 dstPitch,
int width,
int height) {
+ extern int gBitFormat;
if (gBitFormat == 565) {
Normal2xAspectMask(srcPtr,
srcPitch,