diff options
author | Harald Fernengel <harald@trolltech.com> | 2009-08-21 11:21:08 (GMT) |
---|---|---|
committer | Harald Fernengel <harald@trolltech.com> | 2009-08-21 11:21:35 (GMT) |
commit | 0008bb163e148ac9cbc9d61ce115683146a350c4 (patch) | |
tree | 5e1ec7475ad5a8c06de8cc63197699e82693e158 /src | |
parent | 681af3119f2e4681d08e3818601ed4458b8d62a9 (diff) | |
download | Qt-0008bb163e148ac9cbc9d61ce115683146a350c4.zip Qt-0008bb163e148ac9cbc9d61ce115683146a350c4.tar.gz Qt-0008bb163e148ac9cbc9d61ce115683146a350c4.tar.bz2 |
compile.
Diffstat (limited to 'src')
-rw-r--r-- | src/opengl/qgl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp index f2a14d6..f5905ec 100644 --- a/src/opengl/qgl.cpp +++ b/src/opengl/qgl.cpp @@ -1495,7 +1495,7 @@ void QGLTextureCache::pixmapCleanupHook(QPixmap* pixmap) instance()->remove(cacheKey); } #if defined(Q_WS_X11) - QPixmapData *pd = pixmap->data_ptr(); + QPixmapData *pd = pixmap->data_ptr().data(); // Only need to delete the gl surface if the pixmap is about to be deleted if (pd->ref == 0) QGLContextPrivate::destroyGlSurfaceForPixmap(pd); |