From dd0e1061efddc0d2dc9a8cca432fe74cf54c9133 Mon Sep 17 00:00:00 2001 From: archshift Date: Wed, 26 Aug 2015 22:28:19 +0000 Subject: [PATCH] Shader JIT: ifdef out reference to ifdef'd out shader_map shader_map was only defined on x86 architectures, but was cleared on shutdown with no ifdef protection. Ifdef this out so non-x86 architectures can be built. --- src/video_core/shader/shader.cpp | 2 ++ 1 file changed, 2 insertions(+) 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& state) { } void Shutdown() { +#ifdef ARCHITECTURE_x86_64 shader_map.clear(); +#endif // ARCHITECTURE_x86_64 } static Common::Profiling::TimingCategory shader_category("Vertex Shader");