summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl_p.h
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2010-02-12 09:41:50 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2010-02-12 11:55:06 (GMT)
commit95b320c17f4a0a505dd9da2362b0b7cc09ac64d8 (patch)
tree6537771b39a7cd78dc1ce75d9e7157f44d00c4d8 /src/opengl/qgl_p.h
parentf42ad9029816891fd5c603b0fa6259e758db0e07 (diff)
downloadQt-95b320c17f4a0a505dd9da2362b0b7cc09ac64d8.zip
Qt-95b320c17f4a0a505dd9da2362b0b7cc09ac64d8.tar.gz
Qt-95b320c17f4a0a505dd9da2362b0b7cc09ac64d8.tar.bz2
Fix several bugs with GL texture cache
Reviewed-By: Trond Autotest: tst_QGL::qglContextDefaultBindTexture
Diffstat (limited to 'src/opengl/qgl_p.h')
-rw-r--r--src/opengl/qgl_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl/qgl_p.h b/src/opengl/qgl_p.h
index da0887e..0d5a54a 100644
--- a/src/opengl/qgl_p.h
+++ b/src/opengl/qgl_p.h
@@ -540,8 +540,8 @@ public:
static QGLTextureCache *instance();
static void deleteIfEmpty();
- static void imageCleanupHook(qint64 cacheKey);
- static void cleanupTextures(QPixmapData* pixmap);
+ static void cleanupTexturesForCacheKey(qint64 cacheKey);
+ static void cleanupTexturesForPixampData(QPixmapData* pixmap);
static void cleanupBeforePixmapDestruction(QPixmapData* pixmap);
private: