[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - vcl/opengl

Tomaž Vajngerl tomaz.vajngerl at collabora.co.uk
Sat Jul 11 12:59:38 PDT 2015


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

New commits:
commit 942dcf6cc577080e91922066d073fb7f00479eda
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
Date:   Mon Jul 6 18:10:00 2015 +0900

    opengl: don't forget to call swapBuffers when paint ends
    
    Change-Id: I05a2dc1c36d5f23ee43bb799f28fc2403743a4c1
    (cherry picked from commit bbb8c66ed976a1eaddd92400eb31462bed182be4)
    Reviewed-on: https://gerrit.libreoffice.org/16917
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index f56dd4a..3ab4e09 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -1825,6 +1825,7 @@ void OpenGLSalGraphicsImpl::endPaint()
         mpContext->makeCurrent();
         mpContext->AcquireDefaultFramebuffer();
         glFlush();
+        mpContext->swapBuffers();
     }
 
     CHECK_GL_ERROR();


More information about the Libreoffice-commits mailing list