From http://www.jwz.org/xscreensaver/xscreensaver-5.39.tar.gz
[xscreensaver] / hacks / glx / energystream.c
index 0f0bc26de93bc5a4e988b9baeeab2f7e48d9e11b..7221f0d7e5d48286d414f807d6a78bf248564200 100644 (file)
@@ -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,
-      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 */