mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-29 01:46:38 +00:00
Fix a string format to refer to the right parameters
This commit is contained in:
@@ -499,7 +499,7 @@ void D3D11PipelineStateViewer::setViewDetails(QTreeWidgetItem *node, const ViewT
|
||||
|
||||
if((res.FirstElement * res.ElementSize) > 0 || (res.NumElements * res.ElementSize) < 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 %4 bytes in length (%5 "
|
||||
"elements).")
|
||||
.arg(res.FirstElement * res.ElementSize)
|
||||
.arg((res.FirstElement + res.NumElements) * res.ElementSize)
|
||||
|
||||
Reference in New Issue
Block a user