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 {