From 62919330b9df96744467e48db1e8a32f793a77ae Mon Sep 17 00:00:00 2001 From: Triang3l Date: Mon, 4 May 2020 17:15:51 +0300 Subject: [PATCH] [D3D12] Add missing initialization failure handling --- src/xenia/ui/d3d12/d3d12_provider.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xenia/ui/d3d12/d3d12_provider.cc b/src/xenia/ui/d3d12/d3d12_provider.cc index 99d122665..a6b65a192 100644 --- a/src/xenia/ui/d3d12/d3d12_provider.cc +++ b/src/xenia/ui/d3d12/d3d12_provider.cc @@ -212,6 +212,7 @@ bool D3D12Provider::Initialize() { XELOGE("Failed to create a direct command queue"); device->Release(); dxgi_factory->Release(); + return false; } dxgi_factory_ = dxgi_factory;