mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-02 22:11:22 +00:00
gl_texmgr.c (TexMgr_LoadPalette): properly point to d_8to24table_fbright
(noticed this in recent RMQ sources.) git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@519 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
abd0089b8a
commit
fa69c2b10f
1 changed files with 1 additions and 1 deletions
|
@ -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++;
|
||||||
|
|
Loading…
Reference in a new issue