Skip to content

Commit

Permalink
blit.c: drop messy assert()
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Jan 2, 2025
1 parent 90bf8ba commit a8e7971
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib/blit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}

Expand Down

0 comments on commit a8e7971

Please sign in to comment.