shithub: qk1

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