remove unused tex_palette

This commit is contained in:
TTimo 2017-01-01 08:34:13 -06:00
parent d7dafaea33
commit ec670ab48f
1 changed files with 0 additions and 9 deletions

View File

@ -50,7 +50,6 @@
#include "texmanip.h" #include "texmanip.h"
#define TYP_MIPTEX 68 #define TYP_MIPTEX 68
static unsigned tex_palette[256];
#define FONT_HEIGHT 10 #define FONT_HEIGHT 10
@ -180,14 +179,6 @@ void Texture_InitPalette( byte *pal ){
g = gammatable[pal[1]]; g = gammatable[pal[1]];
b = gammatable[pal[2]]; b = gammatable[pal[2]];
pal += 3; 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;
} }
} }