Эх сурвалжийг харах

Merge pull request #1078 from archshift/arm-build-fix

Shader JIT: ifdef out reference to ifdef'd out shader_map
bunnei 11 жил өмнө
parent
commit
de6a2bed32

+ 2 - 0
src/video_core/shader/shader.cpp

@@ -52,7 +52,9 @@ void Setup(UnitState<false>& state) {
 }
 }
 
 
 void Shutdown() {
 void Shutdown() {
+#ifdef ARCHITECTURE_x86_64
     shader_map.clear();
     shader_map.clear();
+#endif // ARCHITECTURE_x86_64
 }
 }
 
 
 static Common::Profiling::TimingCategory shader_category("Vertex Shader");
 static Common::Profiling::TimingCategory shader_category("Vertex Shader");