aboutsummaryrefslogtreecommitdiff
path: root/common/scaler/hq2x.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/hq2x.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/hq2x.cpp')
-rw-r--r--common/scaler/hq2x.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/common/scaler/hq2x.cpp b/common/scaler/hq2x.cpp
index 2505914c26..de134373dd 100644
--- a/common/scaler/hq2x.cpp
+++ b/common/scaler/hq2x.cpp
@@ -1929,9 +1929,4 @@ void HQ2x(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch,
}
}
-void HQ2x(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) {
- if (gBitFormat == 565)
- HQ2x<565>(srcPtr, srcPitch, dstPtr, dstPitch, width, height);
- else // gBitFormat == 555
- HQ2x<555>(srcPtr, srcPitch, dstPtr, dstPitch, width, height);
-}
+MAKE_WRAPPER(HQ2x)