shithub: qk1

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