shithub: qk1

ref: 7616b2f22d8e090dcbea817aee2cd819bc41bda7
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++];
}