shithub: qk1

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