shithub: qk1

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