From c978fe8d15a94c1cff77b35c0e7ad5af6f6593fe Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Wed, 8 Aug 2018 15:24:28 +0200 Subject: [PATCH] Fix D3D12Binding crach after the GetProc refactor --- src/utils/D3D12Binding.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/D3D12Binding.cpp b/src/utils/D3D12Binding.cpp index ab5126747e..7aa5722880 100644 --- a/src/utils/D3D12Binding.cpp +++ b/src/utils/D3D12Binding.cpp @@ -30,7 +30,8 @@ namespace utils { } dawnDevice CreateDevice() override { - return dawn_native::d3d12::CreateDevice(); + mBackendDevice = dawn_native::d3d12::CreateDevice(); + return mBackendDevice; } uint64_t GetSwapChainImplementation() override {