shithub: qk1

ref: 9f50a531673811a2cfe1622b5bf5d0bc7d9c68e0
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++];
}