shithub: qk1

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