diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-07-22 11:20:32 -0700 |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-07-22 11:20:32 -0700 |
commit | d79f61b51868712590f423483f4d3b39cb60aa64 (patch) | |
tree | a4cef0745918348fa3f3bc8dd7d409ff41cab089 /src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp | |
parent | eb6fa7e03a5c91e3da93d0c6203d9bad52dfcbb9 (diff) | |
download | qt4-tools-d79f61b51868712590f423483f4d3b39cb60aa64.tar.gz |
Fix IDirectFBSurface::ReleaseSource calls
Make sure that these calls are in the right order.
Reviewed-by: Donald <qt-info@nokia.com>
Diffstat (limited to 'src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp')
-rw-r--r-- | src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp index 94f1aeb267..68f37ff4f8 100644 --- a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp +++ b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp @@ -466,7 +466,7 @@ void QDirectFBPaintEngine::drawImage(const QRectF &r, const QImage &image, d->blit(r, imgSurface, sr); if (release) { #if (Q_DIRECTFB_VERSION >= 0x010000) - imgSurface->ReleaseSource(imgSurface); + d->surface->ReleaseSource(d->surface); #endif imgSurface->Release(imgSurface); } |