From a8e797169a0bbd7447f1ca2994cc4389e3847efd Mon Sep 17 00:00:00 2001 From: nick black Date: Thu, 2 Jan 2025 06:38:17 -0500 Subject: [PATCH] blit.c: drop messy assert() --- src/lib/blit.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/blit.c b/src/lib/blit.c index 4761fcd98..2631cf502 100644 --- a/src/lib/blit.c +++ b/src/lib/blit.c @@ -581,7 +581,6 @@ hires_solver(const uint32_t rgbas[6], uint64_t* channels, unsigned blendcolors, ncchannels_set_bg_alpha(channels, NCALPHA_BLEND); } best = parcount * 2 - 1 - partitions[best]; - assert(best >= 0 && best >= (1u << (cellheight * 2 - 1)) && best < (1u << (cellheight * 2))); return transegcs[best]; }