Manually integrated @gtbass DX11 vsync change.
This commit is contained in:
parent
936c2b5737
commit
195fd6913d
@ -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) );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user