mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
move Sleep(500) up
This commit is contained in:
parent
83fab457d1
commit
56631c8ed3
@ -225,10 +225,11 @@ static void Render()
|
||||
{
|
||||
if (!active)
|
||||
{
|
||||
Sleep(500);
|
||||
|
||||
if (!InterlockedExchangeAdd(&ddraw->minimized, 0) && CreateDirect3D())
|
||||
active = TRUE;
|
||||
|
||||
Sleep(500);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user