shithub: qk1

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