aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@digia.com>2013-08-26 11:50:33 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-28 08:46:17 +0200
commitfb608dfa5b6b8a6467ae6a7ff106c9182598169b (patch)
tree7d624df7ff022f96362071029ea4b57a5f419b4b /src
parent509f1fecce99b918eddac445989a624d0431b6d1 (diff)
Fix unused variable warning
Fix gcc warning: unused parameter ‘newEffect’ Change-Id: If4ca8058b5b637518a868947226c834d571f7037 Reviewed-by: Alan Alpert <aalpert@blackberry.com> Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/quick/scenegraph/util/qsgvertexcolormaterial.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/util/qsgvertexcolormaterial.cpp b/src/quick/scenegraph/util/qsgvertexcolormaterial.cpp
index eeb30569ec..8a16a5c73f 100644
--- a/src/quick/scenegraph/util/qsgvertexcolormaterial.cpp
+++ b/src/quick/scenegraph/util/qsgvertexcolormaterial.cpp
@@ -64,7 +64,7 @@ private:
QSGMaterialType QSGVertexColorMaterialShader::type;
-void QSGVertexColorMaterialShader::updateState(const RenderState &state, QSGMaterial *newEffect, QSGMaterial *)
+void QSGVertexColorMaterialShader::updateState(const RenderState &state, QSGMaterial * /*newEffect*/, QSGMaterial *)
{
if (state.isOpacityDirty())
program()->setUniformValue(m_opacity_id, state.opacity());