shithub: qk1

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