tweak dd_release

This commit is contained in:
FunkyFr3sh 2022-09-26 14:06:53 +02:00
parent cec59cd341
commit 0798408ba4

View file

@ -1005,6 +1005,7 @@ ULONG dd_Release()
WaitForSingleObject(g_ddraw->render.thread, INFINITE);
g_ddraw->render.thread = NULL;
}
}
if (!g_ddraw->windowed)
{
@ -1018,7 +1019,6 @@ ULONG dd_Release()
ChangeDisplaySettings(NULL, 0);
}
}
}
if (g_ddraw->render.hdc)
{