shithub: qk1

ref: 4f3df5a4769f0374cbffb485559c7796028361f1
dir: /pal.c/

View raw version
#include <u.h>

void
pal2xrgb(int n, s32int *pal, u8int *s, u32int *d)
{
	while(n-- > 0)
		*d++ = pal[*s++];
}