summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AsyncShaderCompiler.cpp
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2018-11-28 23:36:39 +1000
committerStenzek <stenzek@gmail.com>2019-01-25 11:15:57 +1000
commit78588ce79dceef745c6931a12ad1e59677346227 (patch)
treea2048b676ee24c543a73af3373588814878353b1 /Source/Core/VideoCommon/AsyncShaderCompiler.cpp
parente4b205c76937d379cd9043939e2cef1651b1a21b (diff)
ShaderCache: Use imgui for shader compilation dialog
Diffstat (limited to 'Source/Core/VideoCommon/AsyncShaderCompiler.cpp')
-rw-r--r--Source/Core/VideoCommon/AsyncShaderCompiler.cpp2
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++)
{