shithub: qk1

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