diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-05-29 04:33:35 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-05-29 04:33:35 (GMT) |
commit | 5b542cc9faf016c9071f41fa85ab071d05b0f26a (patch) | |
tree | 5f1ac4c42ba26bf627a8e070d916b24f7bec994f /src/declarative/fx/qfximage.cpp | |
parent | b189057d5105b3aae2049d2182ecfceb0399f041 (diff) | |
download | Qt-5b542cc9faf016c9071f41fa85ab071d05b0f26a.zip Qt-5b542cc9faf016c9071f41fa85ab071d05b0f26a.tar.gz Qt-5b542cc9faf016c9071f41fa85ab071d05b0f26a.tar.bz2 |
Make compile under Open GL ES 2.
We will need to optimize the pixmap.toImage calls.
Diffstat (limited to 'src/declarative/fx/qfximage.cpp')
-rw-r--r-- | src/declarative/fx/qfximage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/fx/qfximage.cpp b/src/declarative/fx/qfximage.cpp index 8f63a90..22e5d97 100644 --- a/src/declarative/fx/qfximage.cpp +++ b/src/declarative/fx/qfximage.cpp @@ -459,7 +459,7 @@ uint QFxImage::glSimpleItemData(float *vertices, float *texVertices, void QFxImagePrivate::checkDirty() { if (_texDirty && !_pix.isNull()) { - _tex.setImage(_pix); + _tex.setImage(_pix.toImage()); _tex.setHorizontalWrap(GLTexture::Repeat); _tex.setVerticalWrap(GLTexture::Repeat); } |