diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2011-09-30 18:25:17 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-03 04:53:54 +0200 |
commit | e59fbf997ece61b36180eb21f9c2cd6ea895b88f (patch) | |
tree | c4d206ea4eadaf33b1ed0cbe1a9c5baae6fbd33f /src/declarative/particles/qsgcustomparticle.cpp | |
parent | 69e925444ecebd352462f742d894b326d4cc9a72 (diff) |
Initial commit of particle system autotests
Just some basic autotests for most of the elements.
Change-Id: I2d289f38f362a38c69e03ff92154c98db3c4c486
Reviewed-on: http://codereview.qt-project.org/5844
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/particles/qsgcustomparticle.cpp b/src/declarative/particles/qsgcustomparticle.cpp index 5aad023da4..89e465b58a 100644 --- a/src/declarative/particles/qsgcustomparticle.cpp +++ b/src/declarative/particles/qsgcustomparticle.cpp @@ -79,7 +79,7 @@ static const char qt_particles_default_fragment_code[] = "varying highp vec2 qt_TexCoord0; \n" "uniform lowp float qt_Opacity; \n" "void main() { \n" - " gl_FragColor = texture2D(source, fTex) * qt_Opacity; \n" + " gl_FragColor = texture2D(source, qt_TexCoord0) * qt_Opacity; \n" "}"; static QSGGeometry::Attribute PlainParticle_Attributes[] = { |