summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/x64TextureDecoder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/Src/x64TextureDecoder.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/x64TextureDecoder.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/x64TextureDecoder.cpp b/Source/Core/VideoCommon/Src/x64TextureDecoder.cpp
index e12b62d5a7..4c26509878 100644
--- a/Source/Core/VideoCommon/Src/x64TextureDecoder.cpp
+++ b/Source/Core/VideoCommon/Src/x64TextureDecoder.cpp
@@ -28,6 +28,12 @@
#include <tmmintrin.h>
#endif
+// This avoids a harmless warning from a system header in Clang;
+// see http://llvm.org/bugs/show_bug.cgi?id=16093
+#ifdef __clang__
+#pragma clang diagnostic ignored "-Wshadow"
+#endif
+
bool TexFmt_Overlay_Enable=false;
bool TexFmt_Overlay_Center=false;