shithub: qk1

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