projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
http://www.jwz.org/xscreensaver/xscreensaver-5.09.tar.gz
[xscreensaver]
/
hacks
/
glx
/
xlock-gl-utils.c
diff --git
a/hacks/glx/xlock-gl-utils.c
b/hacks/glx/xlock-gl-utils.c
index d72b4ebdd4aa4ad0d4884893441d05c3e4aecec0..3f41f9bf0905658e9630411864d63d5fc85091e8 100644
(file)
--- a/
hacks/glx/xlock-gl-utils.c
+++ b/
hacks/glx/xlock-gl-utils.c
@@
-118,6
+118,8
@@
init_GL(ModeInfo * mi)
glDrawBuffer (GL_FRONT);
}
+ /* Sometimes glDrawBuffer() throws "invalid op". Dunno why. Ignore. */
+ clear_gl_error ();
/* GLXContext is already a pointer type.
Why this function returns a pointer to a pointer, I have no idea...