OSDN Git Service

remove rendundant r,g,b,a vars (bug 4331)
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 12 Sep 2005 13:59:29 +0000 (13:59 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 12 Sep 2005 13:59:29 +0000 (13:59 +0000)
src/mesa/main/texcompress_fxt1.c

index 019687b..7488241 100644 (file)
@@ -1660,7 +1660,6 @@ fxt1_decode_1ALPHA (const GLubyte *code, GLint t, GLchan *rgba)
          r = g = b = 0;
       } else {
          GLuint kk;
-         GLubyte r, g, b, a;
          cc = (const GLuint *)code;
          a = UP5(cc[3] >> (t * 5 + 13));
          t *= 15;