From a3e428f6dbfd39c14495909b5e748d8581e3ad2b Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Sun, 9 May 2010 11:00:17 +0000 Subject: Rename DISABLE_*SCALERS to USE_*SCALERS, and move the mk/cpp defines to configure. svn-id: r48977 --- graphics/scaler.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'graphics/scaler.cpp') 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 -- cgit v1.2.3