diff --git a/neo/sys/DeviceManager_DX12.cpp b/neo/sys/DeviceManager_DX12.cpp index 0a7885f2..29d9142a 100644 --- a/neo/sys/DeviceManager_DX12.cpp +++ b/neo/sys/DeviceManager_DX12.cpp @@ -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