summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-08-27 00:39:43 +0200
committerbunnei <bunneidev@gmail.com>2015-08-27 00:39:43 +0200
commitde6a2bed32c6f5c060bc505f2305007d6d60a512 (patch)
treebb6bafede9565e5bdc1e1649ce5e5e2858585139
parentMerge pull request #1073 from lioncash/guard (diff)
parentShader JIT: ifdef out reference to ifdef'd out shader_map (diff)
downloadyuzu-de6a2bed32c6f5c060bc505f2305007d6d60a512.tar
yuzu-de6a2bed32c6f5c060bc505f2305007d6d60a512.tar.gz
yuzu-de6a2bed32c6f5c060bc505f2305007d6d60a512.tar.bz2
yuzu-de6a2bed32c6f5c060bc505f2305007d6d60a512.tar.lz
yuzu-de6a2bed32c6f5c060bc505f2305007d6d60a512.tar.xz
yuzu-de6a2bed32c6f5c060bc505f2305007d6d60a512.tar.zst
yuzu-de6a2bed32c6f5c060bc505f2305007d6d60a512.zip
-rw-r--r--src/video_core/shader/shader.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/shader/shader.cpp b/src/video_core/shader/shader.cpp
index be5588c00..f89117521 100644
--- a/src/video_core/shader/shader.cpp
+++ b/src/video_core/shader/shader.cpp
@@ -52,7 +52,9 @@ void Setup(UnitState<false>& state) {
}
void Shutdown() {
+#ifdef ARCHITECTURE_x86_64
shader_map.clear();
+#endif // ARCHITECTURE_x86_64
}
static Common::Profiling::TimingCategory shader_category("Vertex Shader");