diff options
Diffstat (limited to 'common/scaler.cpp')
-rw-r--r-- | common/scaler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/scaler.cpp b/common/scaler.cpp index 4b30b1b9b1..1a4c77fd05 100644 --- a/common/scaler.cpp +++ b/common/scaler.cpp @@ -147,6 +147,7 @@ void Normal1x(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPit } } +#ifndef DISABLE_SCALERS /** * Trivial nearest-neighbour 2x scaler. */ @@ -316,3 +317,5 @@ void DotMatrix(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPi q += nextlineDst << 1; } } + +#endif |