Removed redundant WaitForVBlank from d3d9 (#2998)

Co-authored-by: Ali Seyedof <ali.seyedof@xyzreality.com>
This commit is contained in:
Ali Seyedof 2022-12-16 21:32:06 +00:00 committed by GitHub
parent dfbbb64664
commit 9eb0d2953e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -1587,11 +1587,6 @@ namespace bgfx { namespace d3d9
{
if (NULL != m_swapChain)
{
if (NULL != m_deviceEx)
{
DX_CHECK(m_deviceEx->WaitForVBlank(0) );
}
for (uint32_t ii = 0, num = m_numWindows; ii < num; ++ii)
{
HRESULT hr = S_OK;