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

olivier pushed a commit to branch master
in repository xfce/xfwm4.

commit 0361b55582f7f052a396e9a5db9702656bdee121
Author: Olivier Fourdan <four...@xfce.org>
Date:   Fri Mar 18 09:33:37 2016 +0100

    compositor: use 2D GL API
    
    That's sufficient for what we do.
    
    Signed-off-by: Olivier Fourdan <four...@xfce.org>
---
 src/compositor.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/compositor.c b/src/compositor.c
index dc45218..015030f 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -1589,13 +1589,13 @@ redraw_glx_texture (ScreenInfo *screen_info)
 
     glBegin(GL_QUADS);
     glTexCoord2f(0.0, screen_info->texture_inverted ? 1.0 : 0.0);
-    glVertex3f(-1.0,  1.0, 0.0);
+    glVertex2f(-1.0,  1.0);
     glTexCoord2f(1.0, screen_info->texture_inverted ? 1.0 : 0.0);
-    glVertex3f( 1.0,  1.0, 0.0);
+    glVertex2f( 1.0,  1.0);
     glTexCoord2f(1.0, screen_info->texture_inverted ? 0.0 : 1.0);
-    glVertex3f( 1.0, -1.0, 0.0);
+    glVertex2f( 1.0, -1.0);
     glTexCoord2f(0.0, screen_info->texture_inverted ? 0.0 : 1.0);
-    glVertex3f(-1.0, -1.0, 0.0);
+    glVertex2f(-1.0, -1.0);
     glEnd();
 
     glPopMatrix();

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to