mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-03-29 08:19:52 -04:00
Manually integrated @gtbass DX11 vsync change.
This commit is contained in:
parent
936c2b5737
commit
195fd6913d
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue