diff options
| author | Stenzek <stenzek@gmail.com> | 2018-11-28 23:36:39 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2019-01-25 11:15:57 +1000 |
| commit | 78588ce79dceef745c6931a12ad1e59677346227 (patch) | |
| tree | a2048b676ee24c543a73af3373588814878353b1 /Source/Core/VideoCommon/AsyncShaderCompiler.cpp | |
| parent | e4b205c76937d379cd9043939e2cef1651b1a21b (diff) | |
ShaderCache: Use imgui for shader compilation dialog
Diffstat (limited to 'Source/Core/VideoCommon/AsyncShaderCompiler.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/AsyncShaderCompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/AsyncShaderCompiler.cpp b/Source/Core/VideoCommon/AsyncShaderCompiler.cpp index 755f105942..942f293f1b 100644 --- a/Source/Core/VideoCommon/AsyncShaderCompiler.cpp +++ b/Source/Core/VideoCommon/AsyncShaderCompiler.cpp @@ -77,7 +77,7 @@ void AsyncShaderCompiler::WaitUntilCompletion( // Wait a second before opening a progress dialog. // This way, if the operation completes quickly, we don't annoy the user. - constexpr u32 CHECK_INTERVAL_MS = 50; + constexpr u32 CHECK_INTERVAL_MS = 1000 / 30; constexpr auto CHECK_INTERVAL = std::chrono::milliseconds(CHECK_INTERVAL_MS); for (u32 i = 0; i < (1000 / CHECK_INTERVAL_MS); i++) { |
