Manually integrated @gtbass DX11 vsync change.

This commit is contained in:
bkaradzic 2013-02-20 22:18:44 -08:00
parent 936c2b5737
commit 195fd6913d

View File

@ -452,7 +452,8 @@ namespace bgfx
{
if (NULL != m_swapChain)
{
DX_CHECK(m_swapChain->Present(0, 0) );
uint32_t syncInterval = !!(m_flags & BGFX_RESET_VSYNC);
DX_CHECK(m_swapChain->Present(syncInterval, 0) );
}
}