shithub: qk1

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