diff --git a/radiant/texwindow.cpp b/radiant/texwindow.cpp index 4e459065..87275870 100644 --- a/radiant/texwindow.cpp +++ b/radiant/texwindow.cpp @@ -50,7 +50,6 @@ #include "texmanip.h" #define TYP_MIPTEX 68 -static unsigned tex_palette[256]; #define FONT_HEIGHT 10 @@ -180,14 +179,6 @@ void Texture_InitPalette( byte *pal ){ g = gammatable[pal[1]]; b = gammatable[pal[2]]; pal += 3; - - //v = (r<<24) + (g<<16) + (b<<8) + 255; - //v = BigLong (v); - - //tex_palette[i] = v; - tex_palette[i * 3 + 0] = r; - tex_palette[i * 3 + 1] = g; - tex_palette[i * 3 + 2] = b; } }