shithub: qk1

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