From 78588ce79dceef745c6931a12ad1e59677346227 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Wed, 28 Nov 2018 23:36:39 +1000 Subject: ShaderCache: Use imgui for shader compilation dialog --- Source/Core/VideoCommon/AsyncShaderCompiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/AsyncShaderCompiler.cpp') 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++) { -- cgit v1.2.3