vsync update
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user