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

View File

@ -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 {