shithub: qk1

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