gl_texmgr.c (TexMgr_LoadPalette): properly point to d_8to24table_fbright

(noticed this in recent RMQ sources.)

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@519 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2011-12-15 06:37:12 +00:00
parent 5c7fdf0366
commit 702afcf27e

View file

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