  
  #include <openglconfig.h>
  
-@@ -737,7 +740,8 @@ static QTreeWidgetItem *get_gl_info_glx(Display *dpy, int scrnum, Bool allowDire
+@@ -782,7 +785,8 @@ static QTreeWidgetItem *get_gl_info_glx(Display *dpy, int scrnum, Bool allowDire
  }
  #endif
  

     static bool isWayland = QGuiApplication::platformName().contains(QStringLiteral("wayland"));
 
     QTreeWidgetItem *header = new QTreeWidgetItem();
@@ -911,6 +918,7 @@ bool GetInfo_OpenGL(QTreeWidget *treeWidget)
 
     l1 = new QTreeWidgetItem(treeWidget);
 

     if (isX11) {
         char *displayName = nullptr;
         Display *dpy;
@@ -983,7 +991,7 @@ bool GetInfo_OpenGL(QTreeWidget *treeWidget)
             l2 = get_gl_info_glx(dpy, scrnum, true, l1, l2);
             if (l2) l2->setExpanded(true);
 #endif
