From: Derek Foreman Date: Fri, 4 Jun 2010 21:19:59 +0000 (-0400) Subject: remove some bizarre comments X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=2b9732ccda1ef7603037b45f918d2b9e0b6b7020;p=dana%2Fdcompmgr.git remove some bizarre comments glFinish() after the glXSwapBuffers() --- 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); }