Fix D3D12Binding crach after the GetProc refactor

This commit is contained in:
Corentin Wallez 2018-08-08 15:24:28 +02:00 committed by Corentin Wallez
parent ee2fb75b09
commit c978fe8d15
1 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,8 @@ namespace utils {
} }
dawnDevice CreateDevice() override { dawnDevice CreateDevice() override {
return dawn_native::d3d12::CreateDevice(); mBackendDevice = dawn_native::d3d12::CreateDevice();
return mBackendDevice;
} }
uint64_t GetSwapChainImplementation() override { uint64_t GetSwapChainImplementation() override {