shithub: qk1

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