diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-08-31 12:11:50 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-08-31 20:18:54 +0100 |
commit | 18dd07ba4fd9ede98ce576e6024831658bbd5401 (patch) | |
tree | 013a6802b3a7089c1b62b68c4169d21ae0982799 /include/vcl/opengl | |
parent | 6cf43cf6b98866401702d3275a7a026d8fa01edf (diff) |
tdf#93751 - ensure textures are unbound from framebuffers post destroy.
Change-Id: I81aec0e6f8db57905826c54c3442528be6068700
Diffstat (limited to 'include/vcl/opengl')
-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 2f147623fe59..96abe498fa80 100644 --- a/include/vcl/opengl/OpenGLContext.hxx +++ b/include/vcl/opengl/OpenGLContext.hxx @@ -191,6 +191,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*); |