From 94c6d24794e756b42d805d75ba3bb3fa493b527b Mon Sep 17 00:00:00 2001 From: dmaivel Date: Fri, 5 Jul 2024 22:40:47 -0400 Subject: [PATCH] Remove unused `true_size` --- src/client/glimpl.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/client/glimpl.c b/src/client/glimpl.c index b2f2abc..45194b0 100644 --- a/src/client/glimpl.c +++ b/src/client/glimpl.c @@ -588,11 +588,6 @@ static inline void glimpl_push_client_pointers(int mode, int max_index) } if (glimpl_color_ptr.in_use) { - int true_size = glimpl_color_ptr.size; - - if (true_size > 8) - true_size = glimpl_get_pixel_size(true_size); - pb_push(SGL_CMD_VP_UPLOAD); pb_push(max_index); const unsigned char *color = glimpl_color_ptr.pointer;