shithub: qk1

ref: 5450e3af1e9545eb4f68af0fce120b24912da0ca
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++];
}