From d9d42879c4b6c0202732897ec60a355ccc91f243 Mon Sep 17 00:00:00 2001 From: Yong He Date: Mon, 13 Sep 2021 13:39:20 -0700 Subject: Fix a crash in gfx d3d TransientHeap implementation. (#1937) Co-authored-by: Yong He --- tools/gfx/d3d12/render-d3d12.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/gfx/d3d12/render-d3d12.cpp b/tools/gfx/d3d12/render-d3d12.cpp index 7e436d28d..feacc624d 100644 --- a/tools/gfx/d3d12/render-d3d12.cpp +++ b/tools/gfx/d3d12/render-d3d12.cpp @@ -604,7 +604,7 @@ public: { uint64_t waitValue; HANDLE fenceEvent; - ID3D12Fence* fence = nullptr; + ComPtr fence = nullptr; }; ShortList m_waitInfos; -- cgit v1.2.3