gl_texmgr.c (TexMgr_LoadPalette): properly point to d_8to24table_fbright

(noticed this in recent RMQ sources.)

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@519 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2011-12-15 06:37:12 +00:00
parent 43b6ee16e8
commit 68ed435145

View file

@ -454,7 +454,7 @@ void TexMgr_LoadPalette (void)
//fullbright palette, 0-223 are black (for additive blending) //fullbright palette, 0-223 are black (for additive blending)
src = pal + 224*3; src = pal + 224*3;
dst = (byte *)(d_8to24table_fbright) + 224*4; dst = (byte *) &d_8to24table_fbright[224];
for (i=224; i<256; i++) for (i=224; i<256; i++)
{ {
*dst++ = *src++; *dst++ = *src++;