From f3a2d59212d427d4ae719bbd6f43350ed369cd46 Mon Sep 17 00:00:00 2001 From: baldurk Date: Mon, 10 Oct 2022 11:23:38 +0100 Subject: [PATCH] Make sure to account for no-debug fallback device creation on D3D11 --- renderdoc/driver/d3d11/d3d11_replay.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/renderdoc/driver/d3d11/d3d11_replay.cpp b/renderdoc/driver/d3d11/d3d11_replay.cpp index 10e476ef7..364aa2595 100644 --- a/renderdoc/driver/d3d11/d3d11_replay.cpp +++ b/renderdoc/driver/d3d11/d3d11_replay.cpp @@ -4314,6 +4314,8 @@ RDResult D3D11_CreateReplayDevice(RDCFile *rdc, const ReplayOptions &opts, IRepl "Device creation failed with validation active - check that you have the " "SDK installed or Windows feature enabled to get the D3D debug layers."); + hr = hr2; + break; } }