summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-05-20 01:08:20 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-05-20 01:08:20 (GMT)
commit7f872ea70d357788bbda18f28d4765d5c3a1510e (patch)
tree41c7129cb5702ec952582f9791c5191a934c5739 /src/declarative
parent5b3b730c915f806cc6eb7d63779f8c45a4c2df69 (diff)
downloadQt-7f872ea70d357788bbda18f28d4765d5c3a1510e.zip
Qt-7f872ea70d357788bbda18f28d4765d5c3a1510e.tar.gz
Qt-7f872ea70d357788bbda18f28d4765d5c3a1510e.tar.bz2
Fix breakage.
Line was accidentally deleted.
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/fx/qfxrect.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/fx/qfxrect.cpp b/src/declarative/fx/qfxrect.cpp
index b61baec..f1cbb58 100644
--- a/src/declarative/fx/qfxrect.cpp
+++ b/src/declarative/fx/qfxrect.cpp
@@ -751,6 +751,8 @@ void QFxRect::paintGLContents(GLPainter &p)
1, 1,
1, texbottom };
+ glBindTexture(GL_TEXTURE_2D, d->_rectTexture.texture());
+
shader->setAttributeArray(SingleTextureShader::Vertices, vert1, 2);
shader->setAttributeArray(SingleTextureShader::TextureCoords, tex1, 2);
glDrawArrays(GL_TRIANGLE_STRIP, 0, 8);