From a75781beaff018bdaa29ab05dfcb778984eb489e Mon Sep 17 00:00:00 2001 From: Andrew Depke Date: Wed, 8 Jul 2020 16:04:12 -0600 Subject: [PATCH] Fixed missing calibration flag --- TracyD3D12.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TracyD3D12.hpp b/TracyD3D12.hpp index 680c981b..831ee9a5 100644 --- a/TracyD3D12.hpp +++ b/TracyD3D12.hpp @@ -156,7 +156,7 @@ namespace tracy memset(&item->gpuNewContext.thread, 0, sizeof(item->gpuNewContext.thread)); MemWrite(&item->gpuNewContext.period, 1E+09f / static_cast(timestampFrequency)); MemWrite(&item->gpuNewContext.context, m_context); - MemWrite(&item->gpuNewContext.flags, uint8_t{ 0 }); + MemWrite(&item->gpuNewContext.flags, GpuContextCalibration); MemWrite(&item->gpuNewContext.type, GpuContextType::Direct3D12); #ifdef TRACY_ON_DEMAND