vsync update

This commit is contained in:
pagefault
2001-05-28 02:57:15 +00:00
parent 9b8605583a
commit 0aa8bed43c

View File

@@ -150,7 +150,7 @@ extern "C" BYTE vsyncon;
void DrawScreen() void DrawScreen()
{ {
if(DD_CFB==NULL) return; if(DD_CFB==NULL) return;
if (vsyncon == 1) if (vsyncon == 1 && FullScreen == 1)
{ {
if (lpDD->WaitForVerticalBlank(DDWAITVB_BLOCKBEGIN, NULL) != DD_OK) if (lpDD->WaitForVerticalBlank(DDWAITVB_BLOCKBEGIN, NULL) != DD_OK)
{ {