shithub: qk1

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