mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
ShaderCache: Use imgui for shader compilation dialog
This commit is contained in:
@ -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++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user