diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-05-20 01:08:20 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-05-20 01:08:20 (GMT) |
commit | 7f872ea70d357788bbda18f28d4765d5c3a1510e (patch) | |
tree | 41c7129cb5702ec952582f9791c5191a934c5739 /src/declarative/fx/qfxrect.cpp | |
parent | 5b3b730c915f806cc6eb7d63779f8c45a4c2df69 (diff) | |
download | Qt-7f872ea70d357788bbda18f28d4765d5c3a1510e.zip Qt-7f872ea70d357788bbda18f28d4765d5c3a1510e.tar.gz Qt-7f872ea70d357788bbda18f28d4765d5c3a1510e.tar.bz2 |
Fix breakage.
Line was accidentally deleted.
Diffstat (limited to 'src/declarative/fx/qfxrect.cpp')
-rw-r--r-- | src/declarative/fx/qfxrect.cpp | 2 |
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); |