1
0
mirror of https://github.com/narzoul/DDrawCompat synced 2024-12-30 08:55:36 +01:00

Fixed occasional frame drops on NVIDIA GPUs

See issue #298.
This commit is contained in:
narzoul 2024-07-07 14:03:28 +02:00
parent 6d840907c3
commit 97249c9b47

View File

@ -161,7 +161,7 @@ namespace
{
return -1;
}
return data.ScanLine;
return data.InVerticalBlank ? 0 : data.ScanLine;
}
void getVidPnSource(D3DKMT_HANDLE& adapter, UINT& vidPnSourceId)