diff options
| author | 2015-08-26 22:28:19 +0000 | |
|---|---|---|
| committer | 2015-08-26 22:28:19 +0000 | |
| commit | dd0e1061efddc0d2dc9a8cca432fe74cf54c9133 (patch) | |
| tree | bb6bafede9565e5bdc1e1649ce5e5e2858585139 /src/video_core/shader/shader.cpp | |
| parent | Merge pull request #1073 from lioncash/guard (diff) | |
| download | yuzu-dd0e1061efddc0d2dc9a8cca432fe74cf54c9133.tar.gz yuzu-dd0e1061efddc0d2dc9a8cca432fe74cf54c9133.tar.xz yuzu-dd0e1061efddc0d2dc9a8cca432fe74cf54c9133.zip | |
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.
Diffstat (limited to 'src/video_core/shader/shader.cpp')
| -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) { | |||
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | void Shutdown() { | 54 | void Shutdown() { |
| 55 | #ifdef ARCHITECTURE_x86_64 | ||
| 55 | shader_map.clear(); | 56 | shader_map.clear(); |
| 57 | #endif // ARCHITECTURE_x86_64 | ||
| 56 | } | 58 | } |
| 57 | 59 | ||
| 58 | static Common::Profiling::TimingCategory shader_category("Vertex Shader"); | 60 | static Common::Profiling::TimingCategory shader_category("Vertex Shader"); |