summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureDecoder_x64.cpp
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2014-07-13 02:16:51 +0200
committerTillmann Karras <tilkax@gmail.com>2014-07-13 02:16:51 +0200
commit0ccee6c87b78843caf4bb0dce48a46144e05f69e (patch)
tree6f709cf3703ccc1d8213daef5ef7fca03e64cc3f /Source/Core/VideoCommon/TextureDecoder_x64.cpp
parent99d4ab0b7197c9647932074b54a34ffea1977940 (diff)
Fix warnings unearthed by #579
Diffstat (limited to 'Source/Core/VideoCommon/TextureDecoder_x64.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureDecoder_x64.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/TextureDecoder_x64.cpp b/Source/Core/VideoCommon/TextureDecoder_x64.cpp
index a0ec1bba05..245e5c6141 100644
--- a/Source/Core/VideoCommon/TextureDecoder_x64.cpp
+++ b/Source/Core/VideoCommon/TextureDecoder_x64.cpp
@@ -560,6 +560,7 @@ static void decodeDXTBlock(u32 *dst, const DXTBlock *src, int pitch)
}
}
+#ifdef CHECK
static void decodeDXTBlockRGBA(u32 *dst, const DXTBlock *src, int pitch)
{
// S3TC Decoder (Note: GCN decodes differently from PC so we can't use native support)
@@ -602,6 +603,7 @@ static void decodeDXTBlockRGBA(u32 *dst, const DXTBlock *src, int pitch)
dst += pitch;
}
}
+#endif
#if 0 // TODO - currently does not handle transparency correctly and causes problems when texture dimensions are not multiples of 8
static void copyDXTBlock(u8* dst, const u8* src)