[Libreoffice-commits] core.git: Branch 'libreoffice-6-3' - vcl/unx

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed Oct 16 06:17:00 UTC 2019


 vcl/unx/gtk3/gtk3gtkinst.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 223b64a79b6fad317c5b1e7cfba080544376ee07
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Oct 15 14:06:51 2019 +0100
Commit:     Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Wed Oct 16 08:16:26 2019 +0200

    Related: tdf#124729 check for gtk_gl_area_get_error before continuing
    
    Change-Id: Ib87f32c2fa8c561981920ea688ea723c8e59bead
    Reviewed-on: https://gerrit.libreoffice.org/80839
    Tested-by: Jenkins
    Reviewed-by: Michael Weghorn <m.weghorn at posteo.de>

diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 5161c4dd9b89..4162fc263a62 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -1065,6 +1065,10 @@ private:
         gtk_widget_show_all(pParent);
 
         gtk_gl_area_make_current(GTK_GL_AREA(m_pGLArea));
+
+        if (gtk_gl_area_get_error(GTK_GL_AREA(m_pGLArea)))
+            return false;
+
         gtk_gl_area_attach_buffers(GTK_GL_AREA(m_pGLArea));
         glGenFramebuffersEXT(1, &m_nAreaFrameBuffer);
 


More information about the Libreoffice-commits mailing list