shithub: qk1

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