shithub: qk1

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