mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 23:58:59 +00:00
ShaderCache: Use imgui for shader compilation dialog
This commit is contained in:
parent
e4b205c769
commit
78588ce79d
2 changed files with 23 additions and 5 deletions
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue