mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-14 22:50:45 +00:00
Enable VSync / Present queue frameID labeling for DX12
This commit is contained in:
parent
22dc020401
commit
2b933df6da
1 changed files with 1 additions and 1 deletions
|
@ -612,7 +612,7 @@ void DeviceManager_DX12::Present()
|
|||
presentFlags |= DXGI_PRESENT_ALLOW_TEARING;
|
||||
}
|
||||
|
||||
OPTICK_GPU_FLIP( m_SwapChain.Get() );
|
||||
OPTICK_GPU_FLIP( m_SwapChain.Get(), idLib::frameNumber - 1 );
|
||||
OPTICK_CATEGORY( "DX12_Present", Optick::Category::Wait );
|
||||
|
||||
// SRS - Don't change m_DeviceParams.vsyncEnabled here, simply test for vsync mode 2 to set DXGI SyncInterval
|
||||
|
|
Loading…
Reference in a new issue