shithub: qk1

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