shithub: qk1

ref: d0cba51c9e5c3486797d2b17c5b27b7d54628b63
dir: /pal.c/

View raw version
#include "quakedef.h"

void
pal2xrgb(int n, s32int *pal, u8int *s, u32int *d)
{
	while(n-- > 0)
		*d++ = pal[*s++];
}