shithub: qk1

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