reduce delay
This commit is contained in:
parent
c2c60683b2
commit
83fab457d1
1 changed files with 2 additions and 2 deletions
|
@ -304,11 +304,11 @@ static void Render()
|
|||
{
|
||||
active = FALSE;
|
||||
BOOL released = ReleaseDirect3D();
|
||||
Sleep(500);
|
||||
Sleep(100);
|
||||
|
||||
if (minimized)
|
||||
{
|
||||
ShowWindow(ddraw->hWnd, SW_SHOWMINNOACTIVE);
|
||||
ShowWindow(ddraw->hWnd, SW_MINIMIZE);
|
||||
|
||||
if (!released)
|
||||
ChangeDisplaySettings(&ddraw->mode, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue