shithub: qk1

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