shithub: qk1

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