From 1d0a9926b70738bdba6036f8dc70505470bf4029 Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 24 Jan 2019 19:07:10 +0000 Subject: [PATCH] Fix error message referring to incorrect argument --- qrenderdoc/Windows/PipelineState/PipelineStateViewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrenderdoc/Windows/PipelineState/PipelineStateViewer.cpp b/qrenderdoc/Windows/PipelineState/PipelineStateViewer.cpp index e61cf66c3..114786760 100644 --- a/qrenderdoc/Windows/PipelineState/PipelineStateViewer.cpp +++ b/qrenderdoc/Windows/PipelineState/PipelineStateViewer.cpp @@ -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); }