aboutsummaryrefslogtreecommitdiff
path: root/graphics/scaler/aspect.cpp
diff options
context:
space:
mode:
authorMax Horn2010-03-08 10:30:23 +0000
committerMax Horn2010-03-08 10:30:23 +0000
commita558e60fec492d837f05a5b0e3a62b40b48e7964 (patch)
treef2ff57d1c63f0478bf2f989fa1ca3ae17629e2f8 /graphics/scaler/aspect.cpp
parent78b6bed8db4052d97d37fa4ca0bac1bab7b669c3 (diff)
downloadscummvm-rg350-a558e60fec492d837f05a5b0e3a62b40b48e7964.tar.gz
scummvm-rg350-a558e60fec492d837f05a5b0e3a62b40b48e7964.tar.bz2
scummvm-rg350-a558e60fec492d837f05a5b0e3a62b40b48e7964.zip
SCALERS: Get rid of MAKE_WRAPPER; make RGBtoYUV internal
svn-id: r48189
Diffstat (limited to 'graphics/scaler/aspect.cpp')
-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 3707f39b60..58974c30fa 100644
--- a/graphics/scaler/aspect.cpp
+++ b/graphics/scaler/aspect.cpp
@@ -176,6 +176,7 @@ int stretch200To240(uint8 *buf, uint32 pitch, int width, int height, int srcX, i
}
int stretch200To240(uint8 *buf, uint32 pitch, int width, int height, int srcX, int srcY, int origSrcY) {
+ extern int gBitFormat;
if (gBitFormat == 565)
return stretch200To240<Graphics::ColorMasks<565> >(buf, pitch, width, height, srcX, srcY, origSrcY);
else // gBitFormat == 555