shithub: qk1

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