shithub: qk1

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