diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2011-09-09 12:09:42 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-09-13 01:43:46 +0200 |
commit | 01f76d21d184a0561707815df8f15bd2f7e84191 (patch) | |
tree | 8120498b214768ec6ae77e99e7cc2c1b5d0ba41b /src/declarative/particles/qsgcustomparticle.cpp | |
parent | fbf7ba6c0e75ed61662fc748af06513a6b96b4e1 (diff) |
Reduce compile warnings
Also change QSGDirection::sample to pass by value.
Change-Id: I878649158b78da22afdf77b5f3ce3263ce1070cd
Reviewed-on: http://codereview.qt-project.org/4497
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'src/declarative/particles/qsgcustomparticle.cpp')
-rw-r--r-- | src/declarative/particles/qsgcustomparticle.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/particles/qsgcustomparticle.cpp b/src/declarative/particles/qsgcustomparticle.cpp index 6c95fe66c0..ab4cfa0a3a 100644 --- a/src/declarative/particles/qsgcustomparticle.cpp +++ b/src/declarative/particles/qsgcustomparticle.cpp @@ -406,6 +406,7 @@ void QSGCustomParticle::lookThroughShaderCode(const QByteArray &code) QSGNode *QSGCustomParticle::updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *) { + Q_UNUSED(oldNode); if (m_pleaseReset){ //delete m_material;//Shader effect item doesn't regen material? |