summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxparticles.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/fx/qfxparticles.cpp')
-rw-r--r--src/declarative/fx/qfxparticles.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxparticles.cpp b/src/declarative/fx/qfxparticles.cpp
index 52f24a0..41fb5bc 100644
--- a/src/declarative/fx/qfxparticles.cpp
+++ b/src/declarative/fx/qfxparticles.cpp
@@ -1143,7 +1143,7 @@ void QFxParticlesPainter::paintGLContents(GLPainter &p)
updateSize();
if (d->texDirty && !d->image.isNull()) {
- d->tex.setImage(d->image);
+ d->tex.setImage(d->image.toImage());
d->tex.setHorizontalWrap(GLTexture::Repeat);
d->tex.setVerticalWrap(GLTexture::Repeat);
}