mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Manually integrated @gtbass DX11 vsync change.
This commit is contained in:
@@ -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) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user