BGFX_RESET_VSYNC for D3D11

This commit is contained in:
Garett Bass 2013-02-20 21:28:03 -08:00
parent 530df02484
commit 830415df7c

View File

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