mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
reduce delay
This commit is contained in:
parent
c2c60683b2
commit
83fab457d1
@ -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…
x
Reference in New Issue
Block a user