shithub: qk1

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