shithub: qk1

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