mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
remove unused tex_palette
This commit is contained in:
parent
d7dafaea33
commit
ec670ab48f
1 changed files with 0 additions and 9 deletions
|
@ -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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue