Fixed rendering errors in complex particle system.
authorSamuel Rødal <samuel.rodal@nokia.com>
Mon, 11 Jul 2011 10:35:43 +0000 (12:35 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 11 Jul 2011 11:04:08 +0000 (13:04 +0200)
commitbd4d69c9a88f476b4de4ba80945d39725bb29efa
treedba476c334defa157565e8e2a3bf08bbca876a95
parent9acb4b4f787882e989e4e0c751fb9c1657fe2106
Fixed rendering errors in complex particle system.

We need to set the texture unit of the texture uniform as well, and we
might as well set all the texture units in initialize() since they're
constant.

Change-Id: Ifcc690351ec7d1db1d98ab74644e248ec43cd328
Reviewed-on: http://codereview.qt.nokia.com/1410
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
src/declarative/particles/qsgimageparticle.cpp