diff options
author | Andre Heider | 2010-05-09 11:00:17 +0000 |
---|---|---|
committer | Andre Heider | 2010-05-09 11:00:17 +0000 |
commit | a3e428f6dbfd39c14495909b5e748d8581e3ad2b (patch) | |
tree | a8385d0bdfc21d8a3a279a12e85aab920e266ef1 /graphics/scaler.cpp | |
parent | cff786341f22352066da235a288b876c3c2b1612 (diff) | |
download | scummvm-rg350-a3e428f6dbfd39c14495909b5e748d8581e3ad2b.tar.gz scummvm-rg350-a3e428f6dbfd39c14495909b5e748d8581e3ad2b.tar.bz2 scummvm-rg350-a3e428f6dbfd39c14495909b5e748d8581e3ad2b.zip |
Rename DISABLE_*SCALERS to USE_*SCALERS, and move the mk/cpp defines to configure.
svn-id: r48977
Diffstat (limited to 'graphics/scaler.cpp')
-rw-r--r-- | graphics/scaler.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/scaler.cpp b/graphics/scaler.cpp index a1439d3165..304d194a1a 100644 --- a/graphics/scaler.cpp +++ b/graphics/scaler.cpp @@ -30,7 +30,7 @@ int gBitFormat = 565; -#ifndef DISABLE_HQ_SCALERS +#ifdef USE_HQ_SCALERS // RGB-to-YUV lookup table extern "C" { @@ -139,7 +139,7 @@ void InitScalers(uint32 BitFormat) { format = g_system->getOverlayFormat(); } -#ifndef DISABLE_HQ_SCALERS +#ifdef USE_HQ_SCALERS InitLUT(format); #endif @@ -152,7 +152,7 @@ void InitScalers(uint32 BitFormat) { } void DestroyScalers(){ -#ifndef DISABLE_HQ_SCALERS +#ifdef USE_HQ_SCALERS free(RGBtoYUV); RGBtoYUV = 0; #endif @@ -177,7 +177,7 @@ void Normal1x(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPit } } -#ifndef DISABLE_SCALERS +#ifdef USE_SCALERS #ifdef USE_ARM_SCALER_ASM @@ -386,4 +386,4 @@ void DotMatrix(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPi } } -#endif // #ifndef DISABLE_SCALERS +#endif // #ifdef USE_SCALERS |