projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
103c627
)
Add a really sketchy glGetError() test
author
Derek Foreman
<foremande@gmail.com>
Thu, 10 Jun 2010 16:03:37 +0000
(12:03 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 26 Jun 2010 23:30:47 +0000
(
01:30
+0200)
openbox/composite.c
patch
|
blob
|
history
diff --git
a/openbox/composite.c
b/openbox/composite.c
index e68ac24c16de20598d86b2c97db2eac0594da09f..6bbd2467679c34207154ace18ebbe6b8532cec70 100644
(file)
--- a/
openbox/composite.c
+++ b/
openbox/composite.c
@@
-378,6
+378,11
@@
time_fix(&dif);
}
glXSwapBuffers(obt_display, obcomp.overlay);
glFinish();
+ GLenum gler;
+ while ((gler = glGetError()) != GL_NO_ERROR) {
+ printf("gl error %d\n", gler);
+ }
+
obcomp.need_redraw = 0;
#endif
return TRUE;