Skip to content

Commit

Permalink
Fix incorrect view details tooltip formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
baldurk committed Mar 5, 2018
1 parent e1b0340 commit 71992c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ void D3D12PipelineStateViewer::setViewDetails(RDTreeWidgetItem *node, const D3D1
if((res.firstElement * res.elementByteSize) > 0 ||
(res.numElements * res.elementByteSize) < buf->length)
{
text += tr("The view covers bytes %1-%2 (%3 elements).\nThe buffer is %3 bytes in length (%5 "
text += tr("The view covers bytes %1-%2 (%3 elements).\nThe buffer is %3 bytes in length (%4 "
"elements).")
.arg(res.firstElement * res.elementByteSize)
.arg((res.firstElement + res.numElements) * res.elementByteSize)
Expand Down

0 comments on commit 71992c3

Please sign in to comment.