Skip to content

Commit 7aca655

Browse files
committed
Don't access debug manager when structured exporting
1 parent 5838a33 commit 7aca655

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

renderdoc/driver/d3d11/d3d11_device.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,10 +1241,8 @@ ReplayStatus WrappedID3D11Device::ReadLogInitialisation(RDCFile *rdc, bool store
12411241
if(!IsStructuredExporting(m_State))
12421242
{
12431243
SetupDrawcallPointers(m_Drawcalls, GetFrameRecord().drawcallList);
1244-
}
12451244

1246-
// propagate any UAV names onto counter buffers
1247-
{
1245+
// propagate any UAV names onto counter buffers
12481246
std::vector<ResourceId> counterBuffers;
12491247
GetDebugManager()->GetCounterBuffers(counterBuffers);
12501248

0 commit comments

Comments
 (0)