shithub: qk1

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