aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/scaler.cpp6
1 files changed, 2 insertions, 4 deletions
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