diff options
Diffstat (limited to 'Source/Core/VideoCommon/AsyncShaderCompiler.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/AsyncShaderCompiler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/AsyncShaderCompiler.cpp b/Source/Core/VideoCommon/AsyncShaderCompiler.cpp index 7e6f960d7f..ca59ee6330 100644 --- a/Source/Core/VideoCommon/AsyncShaderCompiler.cpp +++ b/Source/Core/VideoCommon/AsyncShaderCompiler.cpp @@ -10,6 +10,7 @@ #include "Common/Thread.h" #include "Core/Core.h" +#include "Core/System.h" namespace VideoCommon { @@ -96,7 +97,7 @@ bool AsyncShaderCompiler::WaitUntilCompletion( // Update progress while the compiles complete. for (;;) { - if (Core::GetState() == Core::State::Stopping) + if (Core::GetState(Core::System::GetInstance()) == Core::State::Stopping) return false; size_t remaining_items; |
