summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-06-07 22:37:19 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2020-06-08 11:53:49 +0000
commit8485fe5ffe337e4827c4152c2d81defebf96ee0c (patch)
treebff5c1617d45572f9af33d35660767eb32bb7bc6 /src/render
parent44fd52b3c7f6630a2b5e7dfe0963abd4a8c075ca (diff)
Fix a QString::arg() placeholder
A placeholder was accidentally repeated, causing warnings (and wrong debug output). Change-Id: I2c09a538bf1a4b39e926fa9a8d1e6d991f524e01 Reviewed-by: Paul Lemire <paul.lemire@kdab.com> (cherry picked from commit c1b6293728b062a37a65d9f2bde16e750f0952a1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/render')
-rw-r--r--src/render/frontend/qrendercapabilities.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/frontend/qrendercapabilities.cpp b/src/render/frontend/qrendercapabilities.cpp
index 885c43bc2..3ef0ba01d 100644
--- a/src/render/frontend/qrendercapabilities.cpp
+++ b/src/render/frontend/qrendercapabilities.cpp
@@ -232,7 +232,7 @@ QString QRenderCapabilitiesPrivate::toString() const
res += QString(QLatin1String(" Max Image Units: %1\n")).arg(m_maxImageUnits);
res += QString(QLatin1String("Supports Compute Shaders: %1\n")).arg(m_supportCompute ? QLatin1String("True") : QLatin1String("False"));
if (m_supportCompute)
- res += QString(QLatin1String(" Max Work Group Size: %1, %2, %3\n Max Work Group Count: %4, %5, %6\n Max Invocations: %6\n Max Shared Memory Size: %7\n"))
+ res += QString(QLatin1String(" Max Work Group Size: %1, %2, %3\n Max Work Group Count: %4, %5, %6\n Max Invocations: %7\n Max Shared Memory Size: %8\n"))
.arg(m_maxWorkGroupSize[0]).arg(m_maxWorkGroupSize[1]).arg(m_maxWorkGroupSize[2])
.arg(m_maxWorkGroupCount[0]).arg(m_maxWorkGroupCount[1]).arg(m_maxWorkGroupCount[2])
.arg(m_maxComputeInvocations).arg(m_maxComputeSharedMemorySize);