shithub: qk1

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