shithub: qk1

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