shithub: qk1

ref: 87f457bc54dc3686f61b02d9d12c2576caf09a13
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++];
}