shithub: qk1

Download patch

ref: beeeaaeedf88878e8d978c3da20083dbc9246bc1
parent: a2bf5224f6a466910d1cd308e4c173dc50456d30
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Sat Feb 3 17:48:01 EST 2024

remove unused pal2xrgb

--- a/meson.build
+++ b/meson.build
@@ -66,7 +66,6 @@
 	'mt19937-64.c',
 	'net_loop.c',
 	'net_main.c',
-	'pal.c',
 	'pr_cmds.c',
 	'pr_edict.c',
 	'pr_exec.c',
--- a/pal.c
+++ /dev/null
@@ -1,8 +1,0 @@
-#include "quakedef.h"
-
-void
-pal2xrgb(int n, s32int *pal, u8int *s, u32int *d)
-{
-	while(n-- > 0)
-		*d++ = pal[*s++];
-}
--- a/vid_plan9.c
+++ b/vid_plan9.c
@@ -15,8 +15,6 @@
 static int bufi = 0;
 static Channel *frame;
 
-void pal2xrgb(int n, s32int *pal, u8int *s, u32int *d);
-
 static void
 resetfb(void)
 {