blit.c: drop messy assert()

This commit is contained in:
nick black 2025-01-02 06:38:17 -05:00
parent 90bf8ba847
commit a8e797169a
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -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];
}