remove some bizarre comments
authorDerek Foreman <foremande@gmail.com>
Fri, 4 Jun 2010 21:19:59 +0000 (17:19 -0400)
committerDerek Foreman <foremande@gmail.com>
Fri, 4 Jun 2010 21:19:59 +0000 (17:19 -0400)
glFinish() after the glXSwapBuffers()

glxrender.c

index 9186ca8..8858479 100644 (file)
@@ -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);
 }