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; } }