diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-08-29 23:15:54 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-08-31 19:48:14 +0000 |
commit | b27b9084c5b55f6cf6732fb9bdc253658ea612ea (patch) | |
tree | a7e4cad084a1e948a7c9cf1595f040edc0179e1f /vcl/opengl | |
parent | 1ba1a21aa6b77ef8d3d59b3658dfd2aa87d0dee2 (diff) |
tdf#93772 - handle framebuffer unbinding on GL context switch.
Also start gl tests in vcldemo:
$ SAL_FORCEGL=1 vcldemo --gltests
Change-Id: I8f0022770d57cd60c830659e3f7fcc0721320a10
Reviewed-on: https://gerrit.libreoffice.org/18132
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'vcl/opengl')
-rw-r--r-- | vcl/opengl/framebuffer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/opengl/framebuffer.cxx b/vcl/opengl/framebuffer.cxx index 7e19981f8078..b1135fcdf940 100644 --- a/vcl/opengl/framebuffer.cxx +++ b/vcl/opengl/framebuffer.cxx @@ -32,8 +32,8 @@ OpenGLFramebuffer::~OpenGLFramebuffer() void OpenGLFramebuffer::Bind() { - glBindFramebuffer( GL_FRAMEBUFFER, mnId ); VCL_GL_INFO( "vcl.opengl", "Binding framebuffer " << (int)mnId ); + glBindFramebuffer( GL_FRAMEBUFFER, mnId ); CHECK_GL_ERROR(); } |