mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-06 06:43:49 +00:00
Retry Vangogh GPU detection 3 times
This commit is contained in:
parent
7b3884c86b
commit
00e60e72ba
2 changed files with 7 additions and 1 deletions
|
|
@ -20,7 +20,12 @@ namespace PowerControl
|
|||
|
||||
if (Settings.Default.EnableExperimentalFeatures)
|
||||
{
|
||||
Instance.WithGlobalMutex(1000, () => VangoghGPU.Detect());
|
||||
for (int i = 0; !VangoghGPU.IsSupported; i++)
|
||||
{
|
||||
Instance.WithGlobalMutex(1000, () => VangoghGPU.Detect());
|
||||
if (VangoghGPU.IsSupported)
|
||||
Thread.Sleep(300);
|
||||
}
|
||||
}
|
||||
|
||||
// To customize application configuration such as set high DPI settings or default font,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue