shithub: qk1

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