vcl/opengl/gdiimpl.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit 053b01fa6533ccd62b1bd184f0c7f9e42422cb8c Author: Louis-Francis Ratté-Boulianne <l...@collabora.com> Date: Mon Nov 17 17:36:42 2014 -0500
vcl: Unbind framebuffer after setting offscreen mode Change-Id: I057b148f51c8f011cb013e1f06288aec4d9bdb2a diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx index c9f8d4e..bfa4b1f 100644 --- a/vcl/opengl/gdiimpl.cxx +++ b/vcl/opengl/gdiimpl.cxx @@ -292,6 +292,7 @@ void OpenGLSalGraphicsImpl::SetOffscreen( bool bOffscreen ) glBindFramebuffer( GL_FRAMEBUFFER, mnFramebufferId ); maOffscreenTex = OpenGLTexture( GetWidth(), GetHeight() ); glFramebufferTexture2D( GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, maOffscreenTex.Id(), 0 ); + glBindFramebuffer( GL_FRAMEBUFFER, 0 ); } CHECK_GL_ERROR();
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits