Skip to content

Commit

Permalink
Remove unused true_size
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaivel committed Jul 6, 2024
1 parent 1e0e31c commit 94c6d24
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/client/glimpl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 94c6d24

Please sign in to comment.