shithub: qk1

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