shithub: qk1

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