shithub: qk1

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