Fix error message referring to incorrect argument

This commit is contained in:
baldurk
2019-01-24 19:07:46 +00:00
parent 4839d6bee4
commit 1d0a9926b7
@@ -1028,7 +1028,7 @@ QString PipelineStateViewer::GetVBufferFormatString(uint32_t slot)
{
// for the last attribute, ensure the total size doesn't overlap stride
if(attrs[i].byteOffset + cursz > stride && stride > 0)
return tr("// vertex stride %1 less than total data fetched %1")
return tr("// vertex stride %1 less than total data fetched %2")
.arg(stride)
.arg(attrs[i].byteOffset + cursz);
}