From a79ca2f73c0b414449e47751245a5ca1c898c7d5 Mon Sep 17 00:00:00 2001 From: baldurk Date: Tue, 30 May 2017 15:38:15 +0100 Subject: [PATCH] Fix an extra arg %4 parameter that's unused for 3-wide vectors --- qrenderdoc/Code/FormatElement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrenderdoc/Code/FormatElement.cpp b/qrenderdoc/Code/FormatElement.cpp index 3495d8ad2..262ada740 100644 --- a/qrenderdoc/Code/FormatElement.cpp +++ b/qrenderdoc/Code/FormatElement.cpp @@ -859,7 +859,7 @@ static QString RowValuesToString(int cols, el x, el y, el z, el w) else if(cols == 2) return QFormatStr("%1, %2").arg(Formatter::Format(x)).arg(Formatter::Format(y)); else if(cols == 3) - return QFormatStr("%1, %2, %3, %4") + return QFormatStr("%1, %2, %3") .arg(Formatter::Format(x)) .arg(Formatter::Format(y)) .arg(Formatter::Format(z));