mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-09 23:45:43 +00:00
Fix copy-paste error checking wrong count for validity. Refs #789
This commit is contained in:
1 file changed
+1
-1
@@ -2008,7 +2008,7 @@ void WrappedID3D11DeviceContext::RecordOutputMergerStats(UINT NumRTVs, ID3D11Ren
|
||||
|
||||
if(NumRTVs != D3D11_KEEP_RENDER_TARGETS_AND_DEPTH_STENCIL)
|
||||
NumSlots += NumRTVs;
|
||||
if(NumRTVs != D3D11_KEEP_UNORDERED_ACCESS_VIEWS)
|
||||
if(NumUAVs != D3D11_KEEP_UNORDERED_ACCESS_VIEWS)
|
||||
NumSlots += NumUAVs;
|
||||
|
||||
RDCASSERT(NumSlots < outputs.bindslots.size());
|
||||
|
||||
Reference in new issue
Block a user