shithub: qk1

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