Fix copy-paste errors reported by Coverity Scan

This commit is contained in:
baldurk
2017-11-22 11:50:37 +00:00
parent c860d8baa3
commit 4c67de2995
5 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -2147,7 +2147,7 @@ void BufferViewer::updatePreviewColumns()
m_VSInSecondary.buf = vbs[el.buffer].Buffer;
m_VSInSecondary.stride = vbs[el.buffer].ByteStride;
m_VSInSecondary.offset =
vbs[el.buffer].ByteOffset + el.offset + draw->vertexOffset * m_VSInPosition.stride;
vbs[el.buffer].ByteOffset + el.offset + draw->vertexOffset * m_VSInSecondary.stride;
}
else
{