shithub: qk1

ref: ded5393bc7cf05e361bddc4cb5e3d4a8fb08edcd
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++];
}