mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-12 09:41:03 +00:00
Fix incorrect view details tooltip formatter
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user