diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-07-22 15:38:12 (GMT) |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-07-22 17:08:23 (GMT) |
commit | 8768bcfa0000bc216a7f722cd82ac6b06b85a70d (patch) | |
tree | c5b75ce32eef1f92a1ba4909fbce5225afad532b /src/xmlpatterns/data/qvaluefactory_p.h | |
parent | d1eca480acd39c478957e39243ff61b55c0113b4 (diff) | |
download | Qt-8768bcfa0000bc216a7f722cd82ac6b06b85a70d.zip Qt-8768bcfa0000bc216a7f722cd82ac6b06b85a70d.tar.gz Qt-8768bcfa0000bc216a7f722cd82ac6b06b85a70d.tar.bz2 |
Plug a texture leak when deleting QPixmaps without a current context
~QGLTexture wouldn't make the texture's context current if the current
context was zero, meaning the texture would leak. This also means
deleteBoundPixmap doesn't need to make the context currnet anymore (as
it's only called from ~QGLTexture).
Reviewed-By: Kim
Diffstat (limited to 'src/xmlpatterns/data/qvaluefactory_p.h')
0 files changed, 0 insertions, 0 deletions