changeset 25 | e24348a560a6 |
parent 18 | 2f34d5167611 |
child 30 | 5dc02b23752f |
--- a/src/opengl/qpaintengine_opengl.cpp Thu May 27 13:40:48 2010 +0300 +++ b/src/opengl/qpaintengine_opengl.cpp Fri Jun 11 14:24:45 2010 +0300 @@ -1453,6 +1453,11 @@ d->device->endPaint(); qt_mask_texture_cache()->maintainCache(); +#if defined(Q_WS_X11) + // clear out the references we hold for textures bound with the + // texture_from_pixmap extension + ctx->d_func()->boundPixmaps.clear(); +#endif return true; }