projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.39.tar.gz
[xscreensaver]
/
hacks
/
glx
/
energystream.c
diff --git
a/hacks/glx/energystream.c
b/hacks/glx/energystream.c
index 0f0bc26de93bc5a4e988b9baeeab2f7e48d9e11b..7221f0d7e5d48286d414f807d6a78bf248564200 100644
(file)
--- a/
hacks/glx/energystream.c
+++ b/
hacks/glx/energystream.c
@@
-184,7
+184,7
@@
static GLuint gen_texture (void)
glPixelStorei (GL_UNPACK_ALIGNMENT, 4);
clear_gl_error ();
glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, TEX_WIDTH, TEX_HEIGHT,
glPixelStorei (GL_UNPACK_ALIGNMENT, 4);
clear_gl_error ();
glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, TEX_WIDTH, TEX_HEIGHT,
- 0, GL_RGBA, GL_UNSIGNED_
INT_8_8_8_8_REV
, texture);
+ 0, GL_RGBA, GL_UNSIGNED_
BYTE
, texture);
check_gl_error ("texture");
/* Texture parameters, LINEAR scaling for better texture quality */
check_gl_error ("texture");
/* Texture parameters, LINEAR scaling for better texture quality */