[Xfce4-commits] [xfce/xfwm4] 01/01: Revert "compositor: Draw to back buffer"

noreply at xfce.org noreply at xfce.org
Sun May 12 12:06:19 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 11493fd453481b4c832986b1123160435b53a27a
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Sun May 12 12:03:18 2019 +0200

    Revert "compositor: Draw to back buffer"
    
    This change is incompatible with NVidia closed source driver and
    causes a blank screen.
    
    Thanks-to: Philip Müller <philm at manjaro.org>
    
    This reverts commit 97c051b865623cf7133d74d0281ed6ad1cf4c3d6.
---
 src/compositor.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/compositor.c b/src/compositor.c
index ca74b3a..5877f22 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -1432,7 +1432,7 @@ unbind_glx_texture (ScreenInfo *screen_info)
     {
         TRACE ("unbinding GLX drawable 0x%lx", screen_info->glx_drawable);
         glXReleaseTexImageEXT (myScreenGetXDisplay (screen_info),
-                               screen_info->glx_drawable, GLX_BACK_EXT);
+                               screen_info->glx_drawable, GLX_FRONT_EXT);
         glXDestroyPixmap(myScreenGetXDisplay (screen_info), screen_info->glx_drawable);
         screen_info->glx_drawable = None;
     }
@@ -1500,7 +1500,7 @@ bind_glx_texture (ScreenInfo *screen_info, Pixmap pixmap)
            screen_info->glx_drawable, screen_info->rootTexture);
     enable_glx_texture (screen_info);
     glXBindTexImageEXT (myScreenGetXDisplay (screen_info),
-                        screen_info->glx_drawable, GLX_BACK_EXT, NULL);
+                        screen_info->glx_drawable, GLX_FRONT_EXT, NULL);
     glTexParameteri(screen_info->texture_type,
                     GL_TEXTURE_MIN_FILTER,
                     screen_info->texture_filter);

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


More information about the Xfce4-commits mailing list