shithub: qk1

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