[Libreoffice-commits] core.git: Branch 'feature/opengl-vcl2' - vcl/opengl

Louis-Francis Ratté-Boulianne lfrb at collabora.com
Tue Nov 18 08:19:55 PST 2014


 vcl/opengl/gdiimpl.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 9b18be272124c0157eea1b24d396e03b2135fffd
Author: Louis-Francis Ratté-Boulianne <lfrb at collabora.com>
Date:   Tue Nov 18 11:19:02 2014 -0500

    vcl: Actually keep the new offscreen texture around
    
    Change-Id: Ie44c680f0c217214c4a3642d34fa704e8eeca917

diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index bfa4b1f..8bd1b35 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -316,6 +316,7 @@ bool OpenGLSalGraphicsImpl::CheckOffscreenTexture()
     glFramebufferTexture2D( GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, aNewTex.Id(), 0 );
     glViewport( 0, 0, GetWidth(), GetHeight() );
     DrawTexture( maOffscreenTex, aPosAry );
+    maOffscreenTex = aNewTex;
 
     CHECK_GL_ERROR();
     return true;


More information about the Libreoffice-commits mailing list