shithub: qk1

ref: b92b18d15ebabc0879641d758b3c3e2c081bdf71
dir: /pal.c/

View raw version
#include "quakedef.h"

void
pal2xrgb(int n, s32int *pal, u8int *s, u32int *d)
{
	while(n-- > 0)
		*d++ = pal[*s++];
}