shithub: qk1

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