aboutsummaryrefslogtreecommitdiff
path: root/common/scaler/hq3x.cpp
diff options
context:
space:
mode:
authorMax Horn2003-09-29 18:38:51 +0000
committerMax Horn2003-09-29 18:38:51 +0000
commitc40e7d68a5e814cc8b8e49d92f26c9814657bb0f (patch)
treee6516a5f94c45bd8160c72f49f9f15035a9aa666 /common/scaler/hq3x.cpp
parent4a7385b4e742b283045021b1760a1fbf4d6979ac (diff)
downloadscummvm-rg350-c40e7d68a5e814cc8b8e49d92f26c9814657bb0f.tar.gz
scummvm-rg350-c40e7d68a5e814cc8b8e49d92f26c9814657bb0f.tar.bz2
scummvm-rg350-c40e7d68a5e814cc8b8e49d92f26c9814657bb0f.zip
templatized more of the scalers; also introduced template struct ColorMasks (shortens/simplifies other code a bit)
svn-id: r10489
Diffstat (limited to 'common/scaler/hq3x.cpp')
-rw-r--r--common/scaler/hq3x.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/common/scaler/hq3x.cpp b/common/scaler/hq3x.cpp
index f484e2eabb..6b40f676e2 100644
--- a/common/scaler/hq3x.cpp
+++ b/common/scaler/hq3x.cpp
@@ -2927,9 +2927,4 @@ void HQ3x(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch,
}
}
-void HQ3x(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) {
- if (gBitFormat == 565)
- HQ3x<565>(srcPtr, srcPitch, dstPtr, dstPitch, width, height);
- else // gBitFormat == 555
- HQ3x<555>(srcPtr, srcPitch, dstPtr, dstPitch, width, height);
-}
+MAKE_WRAPPER(HQ3x)