aboutsummaryrefslogtreecommitdiff
path: root/common/scaler/hq2x.cpp
diff options
context:
space:
mode:
authorMax Horn2003-10-02 23:29:58 +0000
committerMax Horn2003-10-02 23:29:58 +0000
commita02c13a52e2532e50ac768ed0dc730982f4c130e (patch)
tree2662d7a6414cea61c51f8934353010c86053e84b /common/scaler/hq2x.cpp
parentbb5351f0a8680845eb975a60eab961aa15e08729 (diff)
downloadscummvm-rg350-a02c13a52e2532e50ac768ed0dc730982f4c130e.tar.gz
scummvm-rg350-a02c13a52e2532e50ac768ed0dc730982f4c130e.tar.bz2
scummvm-rg350-a02c13a52e2532e50ac768ed0dc730982f4c130e.zip
fix scaler compilation for MSVC6. However, the produced code stll seems to be incorrect... Jamieson, maybe the MSVC6_COMPAT should be re-added then after all?
svn-id: r10552
Diffstat (limited to 'common/scaler/hq2x.cpp')
-rw-r--r--common/scaler/hq2x.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/scaler/hq2x.cpp b/common/scaler/hq2x.cpp
index cd461f7be9..462729804c 100644
--- a/common/scaler/hq2x.cpp
+++ b/common/scaler/hq2x.cpp
@@ -82,7 +82,7 @@
* Adapted for ScummVM to 16 bit output and optimized by Max Horn.
*/
template<int bitFormat>
-void HQ2x(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) {
+void HQ2xTemplate(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) {
register int w1, w2, w3, w4, w5, w6, w7, w8, w9;
const uint32 nextlineSrc = srcPitch / sizeof(uint16);