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

noreply at xfce.org noreply at xfce.org
Wed Jun 5 22:01:31 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 61baa5fda137733000d106cddad1f52f9e99fba0
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Wed Jun 5 21:11:11 2019 +0200

    Revert "compositor: Use epoxy to check for glx support"
    
    Bug 15554
    
    The API was added in epoxy 1.4.0, most distribution don't have it yet.
    
    This reverts commit 1311eecd33e173ac64ebd48e7a9cf37452d7dc1c.
---
 src/compositor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compositor.c b/src/compositor.c
index 254a95f..8b2d3e8 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -1294,7 +1294,7 @@ init_glx (ScreenInfo *screen_info)
     g_return_val_if_fail (screen_info != NULL, FALSE);
     TRACE ("entering");
 
-    if (!epoxy_has_glx (myScreenGetXDisplay (screen_info)))
+    if (!glXQueryExtension (myScreenGetXDisplay (screen_info), &error_base, &event_base))
     {
         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