1
0
Fork 0
forked from fte/fteqw

Byteswap the palette (for macs).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@972 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-04-20 23:51:56 +00:00
parent 638fad7d95
commit 9d65df9b4d

View file

@ -243,6 +243,10 @@ void GLVID_SetPalette (unsigned char *palette)
}
d_8to24rgbtable[255] &= 0xffffff; // 255 is transparent
}
if (LittleLong(1) != 1)
for (i=0 ; i<256 ; i++)
d_8to24rgbtable[i] = LittleLong(d_8to24rgbtable[i]);
}
void GLVID_ShiftPalette (unsigned char *palette)
{