diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-08-31 12:11:50 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-09-01 07:41:29 +0000 |
commit | 0a3cfc66d5c82e5c44ef5220bdbe4344b9d1e2ce (patch) | |
tree | c855a53c9bf963f464262e9629b8785ae6a3853c /include | |
parent | 3253cc2b4ab547cc42cb9f62254ecccac40b5459 (diff) |
tdf#93751 - ensure textures are unbound from framebuffers post destroy.
Change-Id: I81aec0e6f8db57905826c54c3442528be6068700
Reviewed-on: https://gerrit.libreoffice.org/18184
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/opengl/OpenGLContext.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx index 73434a0b9319..8c756b7d303e 100644 --- a/include/vcl/opengl/OpenGLContext.hxx +++ b/include/vcl/opengl/OpenGLContext.hxx @@ -193,6 +193,7 @@ public: bool AcquireDefaultFramebuffer(); OpenGLFramebuffer* AcquireFramebuffer( const OpenGLTexture& rTexture ); static void ReleaseFramebuffer( OpenGLFramebuffer* pFramebuffer ); + void UnbindTextureFromFramebuffers( GLuint nTexture ); #ifdef DBG_UTIL void AddRef(SalGraphicsImpl*); void DeRef(SalGraphicsImpl*); |