shithub: qk1

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