skip already checked preferred backend
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
c0e4e50863
commit
bacc3ed280
|
@ -152,7 +152,7 @@ Refresh_Backend Refresh_SelectBackend(Refresh_Backend preferredBackend, uint32_t
|
|||
|
||||
for (i = 1; backends[i] != NULL; i += 1)
|
||||
{
|
||||
if (backends[i]->PrepareDriver(flags))
|
||||
if (i != preferredBackend && backends[i]->PrepareDriver(flags))
|
||||
{
|
||||
selectedBackend = i;
|
||||
return i;
|
||||
|
|
Loading…
Reference in New Issue