[Xfce4-commits] [xfce/xfwm4] 02/02: compositor: Do not release texture each time

noreply at xfce.org noreply at xfce.org
Thu May 9 08:32:02 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 3dfe01300879e9f53fe2c475be1dd966ac111390
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Wed May 8 21:13:03 2019 +0200

    compositor: Do not release texture each time
    
    It's done on unbind.
    
    Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
 src/compositor.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/compositor.c b/src/compositor.c
index 0a6f757..de5d49e 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -1623,11 +1623,6 @@ redraw_glx_texture (ScreenInfo *screen_info, XserverRegion region)
 
     glPopMatrix();
 
-    TRACE ("releasing bind GLX pixmap 0x%lx to texture 0x%x",
-           screen_info->glx_drawable, screen_info->rootTexture);
-    glXReleaseTexImageEXT (myScreenGetXDisplay (screen_info),
-                           screen_info->glx_drawable, GLX_BACK_EXT);
-
     glXWaitGL();
 
     check_gl_error();

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


More information about the Xfce4-commits mailing list