shithub: qk1

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