shithub: qk1

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