Fix copy-paste error checking wrong count for validity. Refs #789

This commit is contained in:
baldurk
2017-10-28 14:11:58 +01:00
parent 8639e616cf
commit 0c9cf24921
+1 -1
View File
@@ -2011,7 +2011,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());