From db12b1722fefd611a0d4dbb81a3705dbc0462e31 Mon Sep 17 00:00:00 2001 From: assiduous Date: Tue, 15 Dec 2020 11:56:02 -0800 Subject: Minor fix after merge --- Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngineD3D12') diff --git a/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp b/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp index 9a833fe1..78320cc1 100644 --- a/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp +++ b/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp @@ -2454,7 +2454,7 @@ void DeviceContextD3D12Impl::BuildTLAS(const BuildTLASAttribs& Attribs) // copy instance data into instance buffer { size_t Size = Attribs.InstanceCount * sizeof(D3D12_RAYTRACING_INSTANCE_DESC); - auto TmpSpace = m_DynamicHeap.Allocate(Size, 16, m_ContextFrameNumber); + auto TmpSpace = m_DynamicHeap.Allocate(Size, 16, m_FrameNumber); for (Uint32 i = 0; i < Attribs.InstanceCount; ++i) { -- cgit v1.2.3