move Sleep(500) up
This commit is contained in:
parent
83fab457d1
commit
56631c8ed3
1 changed files with 2 additions and 1 deletions
|
@ -225,10 +225,11 @@ static void Render()
|
||||||
{
|
{
|
||||||
if (!active)
|
if (!active)
|
||||||
{
|
{
|
||||||
|
Sleep(500);
|
||||||
|
|
||||||
if (!InterlockedExchangeAdd(&ddraw->minimized, 0) && CreateDirect3D())
|
if (!InterlockedExchangeAdd(&ddraw->minimized, 0) && CreateDirect3D())
|
||||||
active = TRUE;
|
active = TRUE;
|
||||||
|
|
||||||
Sleep(500);
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue