aboutsummaryrefslogtreecommitdiff
path: root/graphics/scaler/scale2x.h
diff options
context:
space:
mode:
authorMax Horn2009-07-30 09:36:50 +0000
committerMax Horn2009-07-30 09:36:50 +0000
commitaffbe860269f89aaf5d644efe3c24cdbd048b47a (patch)
tree5daa4c5f037685e1c56dbee95dc85f30807f27c1 /graphics/scaler/scale2x.h
parente9cd07e582d27d1e329269d4e3d544eea03f0131 (diff)
downloadscummvm-rg350-affbe860269f89aaf5d644efe3c24cdbd048b47a.tar.gz
scummvm-rg350-affbe860269f89aaf5d644efe3c24cdbd048b47a.tar.bz2
scummvm-rg350-affbe860269f89aaf5d644efe3c24cdbd048b47a.zip
Patch #2818501: enable scale2x mmx on x86_64
svn-id: r42918
Diffstat (limited to 'graphics/scaler/scale2x.h')
-rw-r--r--graphics/scaler/scale2x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/scaler/scale2x.h b/graphics/scaler/scale2x.h
index e38242a7ee..cefa14f22a 100644
--- a/graphics/scaler/scale2x.h
+++ b/graphics/scaler/scale2x.h
@@ -33,7 +33,7 @@ void scale2x_8_def(scale2x_uint8* dst0, scale2x_uint8* dst1, const scale2x_uint8
void scale2x_16_def(scale2x_uint16* dst0, scale2x_uint16* dst1, const scale2x_uint16* src0, const scale2x_uint16* src1, const scale2x_uint16* src2, unsigned count);
void scale2x_32_def(scale2x_uint32* dst0, scale2x_uint32* dst1, const scale2x_uint32* src0, const scale2x_uint32* src1, const scale2x_uint32* src2, unsigned count);
-#if defined(__GNUC__) && defined(__i386__)
+#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
void scale2x_8_mmx(scale2x_uint8* dst0, scale2x_uint8* dst1, const scale2x_uint8* src0, const scale2x_uint8* src1, const scale2x_uint8* src2, unsigned count);
void scale2x_16_mmx(scale2x_uint16* dst0, scale2x_uint16* dst1, const scale2x_uint16* src0, const scale2x_uint16* src1, const scale2x_uint16* src2, unsigned count);