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

New commits:
commit 9b18be272124c0157eea1b24d396e03b2135fffd
Author: Louis-Francis Ratté-Boulianne <l...@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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to