shithub: qk1

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