projects
/
dana
/
dcompmgr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
47a4df4
)
remove some bizarre comments
author
Derek Foreman
<foremande@gmail.com>
Fri, 4 Jun 2010 21:19:59 +0000
(17:19 -0400)
committer
Derek Foreman
<foremande@gmail.com>
Fri, 4 Jun 2010 21:19:59 +0000
(17:19 -0400)
glFinish() after the glXSwapBuffers()
glxrender.c
patch
|
blob
|
history
diff --git
a/glxrender.c
b/glxrender.c
index
9186ca8
..
8858479
100644
(file)
--- 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);
}