shithub: qk1

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