shithub: qk1

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