From 2b9732ccda1ef7603037b45f918d2b9e0b6b7020 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Fri, 4 Jun 2010 17:19:59 -0400 Subject: [PATCH] remove some bizarre comments glFinish() after the glXSwapBuffers() --- glxrender.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/glxrender.c b/glxrender.c index 9186ca8..8858479 100644 --- a/glxrender.c +++ b/glxrender.c @@ -701,8 +701,6 @@ glxrender_paint(d_screen_t *sc) wd = window_find_plugin_data(w, plugin_id); - //glPushMatrix(); - /* black shadow */ alpha = d->shadowalpha; alpha *= opac; @@ -717,8 +715,6 @@ glxrender_paint(d_screen_t *sc) paint_window(w, d, wd, x, y, z + 0.05f); } - //glPopMatrix(); - z += 0.1f; } } @@ -729,6 +725,8 @@ glxrender_paint(d_screen_t *sc) glXSwapBuffers(sc->dpy->xlib_dpy, sc->overlay); + glFinish(); + /* call the function we replaced in the chain */ d->screen_paint(sc); } -- 1.9.1