shithub: qk1

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