shithub: qk1

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