diff options
author | archshift <gh@archshift.com> | 2015-08-26 22:28:19 +0000 |
---|---|---|
committer | archshift <gh@archshift.com> | 2015-08-26 22:28:19 +0000 |
commit | dd0e1061efddc0d2dc9a8cca432fe74cf54c9133 (patch) | |
tree | bb6bafede9565e5bdc1e1649ce5e5e2858585139 | |
parent | 4ad86a6f7889cba716d2a329d54cde09b250273c (diff) |
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.
-rw-r--r-- | src/video_core/shader/shader.cpp | 2 |
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"); |