summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader
diff options
context:
space:
mode:
authorarchshift <gh@archshift.com>2015-08-27 00:28:19 +0200
committerarchshift <gh@archshift.com>2015-08-27 00:28:19 +0200
commitdd0e1061efddc0d2dc9a8cca432fe74cf54c9133 (patch)
treebb6bafede9565e5bdc1e1649ce5e5e2858585139 /src/video_core/shader
parentMerge pull request #1073 from lioncash/guard (diff)
downloadyuzu-dd0e1061efddc0d2dc9a8cca432fe74cf54c9133.tar
yuzu-dd0e1061efddc0d2dc9a8cca432fe74cf54c9133.tar.gz
yuzu-dd0e1061efddc0d2dc9a8cca432fe74cf54c9133.tar.bz2
yuzu-dd0e1061efddc0d2dc9a8cca432fe74cf54c9133.tar.lz
yuzu-dd0e1061efddc0d2dc9a8cca432fe74cf54c9133.tar.xz
yuzu-dd0e1061efddc0d2dc9a8cca432fe74cf54c9133.tar.zst
yuzu-dd0e1061efddc0d2dc9a8cca432fe74cf54c9133.zip
Diffstat (limited to 'src/video_core/shader')
-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");