shithub: qk1

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