From 80ee8188d3d7fdd43c36a47fa68283ee78f9e8dd Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 14 May 2005 23:28:22 +0000 Subject: Improvements to --disable-* stuff. Now less ugly #ifdefs with #includes. svn-id: r18100 --- common/scaler.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'common') diff --git a/common/scaler.cpp b/common/scaler.cpp index 0d059f84ec..2d1996b6ba 100644 --- a/common/scaler.cpp +++ b/common/scaler.cpp @@ -103,10 +103,8 @@ void InitScalers(uint32 BitFormat) { InitLUT(BitFormat); } -#ifdef DISABLE_HQ_SCALERS -void InitLUT(uint32 BitFormat) {} -#else void InitLUT(uint32 BitFormat) { +#ifndef DISABLE_HQ_SCALERS int r, g, b; int Y, u, v; int gInc, gShift; @@ -133,8 +131,8 @@ void InitLUT(uint32 BitFormat) { } } } -} #endif +} /** * Trivial 'scaler' - in fact it doesn't do any scaling but just copies the -- cgit v1.2.3