summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfximage.cpp
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@nokia.com>2009-06-09 08:42:46 (GMT)
committerThomas Hartmann <Thomas.Hartmann@nokia.com>2009-06-09 08:46:03 (GMT)
commit29496148abe8506fbf50c99e9a210095c5115a14 (patch)
tree32f4b5d08bc99afc302087a376c0020f70c07fe9 /src/declarative/fx/qfximage.cpp
parent1ef0d84c8e5d706e60e487fc801f90bbf5fddaa6 (diff)
downloadQt-29496148abe8506fbf50c99e9a210095c5115a14.zip
Qt-29496148abe8506fbf50c99e9a210095c5115a14.tar.gz
Qt-29496148abe8506fbf50c99e9a210095c5115a14.tar.bz2
Compile fix for !QFX_RENDER_OPENGL
Some QFX_RENDER_OPENGL guards were missing and getPen had to be replaced with d->pen in some places Reviewed-by: Kai Koehne
Diffstat (limited to 'src/declarative/fx/qfximage.cpp')
-rw-r--r--src/declarative/fx/qfximage.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/fx/qfximage.cpp b/src/declarative/fx/qfximage.cpp
index c5e7e89..224c25e 100644
--- a/src/declarative/fx/qfximage.cpp
+++ b/src/declarative/fx/qfximage.cpp
@@ -127,10 +127,12 @@ QFxImage::~QFxImage()
Q_D(QFxImage);
if (d->sciReply)
d->sciReply->deleteLater();
+#if defined(QFX_RENDER_OPENGL)
if (d->tex) {
d->tex->release();
d->tex = 0;
}
+#endif
}
/*!