shithub: qk1

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