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.13.tar.gz
[xscreensaver]
/
hacks
/
glx
/
timetunnel.c
diff --git
a/hacks/glx/timetunnel.c
b/hacks/glx/timetunnel.c
index c74410198fa1b6ab10749448cca450516f8713b9..68eaf34c3bac944db26eb43f2e1bfe801019ce8e 100644
(file)
--- a/
hacks/glx/timetunnel.c
+++ b/
hacks/glx/timetunnel.c
@@
-989,6
+989,7
@@
static void LoadTexture(ModeInfo * mi, char **fn, const char *filename, GLuint t
clear_gl_error();
#ifdef HAVE_GLBINDTEXTURE
glBindTexture(GL_TEXTURE_2D, texbind);
clear_gl_error();
#ifdef HAVE_GLBINDTEXTURE
glBindTexture(GL_TEXTURE_2D, texbind);
+ clear_gl_error(); /* WTF? sometimes "invalid op" from glBindTexture! */
#endif
glPixelStorei(GL_UNPACK_ALIGNMENT, 4);
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, teximage->width, teximage->height,
#endif
glPixelStorei(GL_UNPACK_ALIGNMENT, 4);
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, teximage->width, teximage->height,