X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fenergystream.c;h=7221f0d7e5d48286d414f807d6a78bf248564200;hp=0f0bc26de93bc5a4e988b9baeeab2f7e48d9e11b;hb=78add6e627ee5f10e1fa6f3852602ea5066eee5a;hpb=39809ded547bdbb08207d3e514950425215b4410 diff --git a/hacks/glx/energystream.c b/hacks/glx/energystream.c index 0f0bc26d..7221f0d7 100644 --- 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, - 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 */