vcl/opengl/gdiimpl.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit e19212b0854d963d33354095ffa62e34ac56d315
Author: Marco Cecchetti <[email protected]>
Date:   Fri Mar 11 18:04:40 2016 +0100

    tdf#95616 - fix flickering issue
    
    Reviewed-on: https://gerrit.libreoffice.org/23238
    Tested-by: Jenkins <[email protected]>
    Reviewed-by: Michael Meeks <[email protected]>
    Signed-off-by: Michael Meeks <[email protected]>
    
    Conflicts:
        vcl/opengl/gdiimpl.cxx
    
    Change-Id: I0d5bfdf44dde2cd06c193f34e81c6ce71291bba1

diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 15cec83..59545f8e 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -451,9 +451,10 @@ bool OpenGLSalGraphicsImpl::CheckOffscreenTexture()
         if( maOffscreenTex.GetWidth()  != GetWidth() ||
             maOffscreenTex.GetHeight() != GetHeight() )
         {
+            VCL_GL_INFO( "re-size offscreen texture " << maOffscreenTex.Id() );
+            mpFlush->SetPriority( SchedulerPriority::POST_PAINT );
             mpContext->ReleaseFramebuffer( maOffscreenTex );
             maOffscreenTex = OpenGLTexture();
-            VCL_GL_INFO( "re-size offscreen texture" );
         }
     }
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to