[Xfce4-commits] [xfce/xfwm4] 01/06: compositor: Use epoxy to check for glx support

noreply at xfce.org noreply at xfce.org
Thu May 23 21:50:53 CEST 2019


This is an automated email from the git hooks/post-receive script.

o   l   i   v   i   e   r       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfwm4.

commit 1311eecd33e173ac64ebd48e7a9cf37452d7dc1c
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Thu May 23 21:21:56 2019 +0200

    compositor: Use epoxy to check for glx support
    
    Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
 src/compositor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compositor.c b/src/compositor.c
index 3bfad4e..76e5f6f 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -1295,7 +1295,7 @@ init_glx (ScreenInfo *screen_info)
     g_return_val_if_fail (screen_info != NULL, FALSE);
     TRACE ("entering");
 
-    if (!glXQueryExtension (myScreenGetXDisplay (screen_info), &error_base, &event_base))
+    if (!epoxy_has_glx (myScreenGetXDisplay (screen_info)))
     {
         g_warning ("GLX extension missing, GLX support disabled.");
         return FALSE;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list