Skip to content

Commit

Permalink
[stats] account for bitmap emission in rasterize_sprixels (sixel case)
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Dec 27, 2021
1 parent 3bb3e55 commit 94944ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/render.c
Original file line number Diff line number Diff line change
Expand Up @@ -1035,6 +1035,7 @@ rasterize_sprixels(notcurses* nc, ncpile* p, fbuf* f){
bytesemitted += r;
nc->rstate.y = -1;
nc->rstate.x = -1;
++nc->stats.s.sprixelemissions;
}
}else if(s->invalidated == SPRIXEL_LOADED){
if(nc->tcache.pixel_commit){
Expand Down

0 comments on commit 94944ab

Please sign in to comment.