diff --git a/src/lib/egcpool.h b/src/lib/egcpool.h index 8d2edabeb..b127d8062 100644 --- a/src/lib/egcpool.h +++ b/src/lib/egcpool.h @@ -262,12 +262,6 @@ cell_sprixel_p(const nccell* c){ return (htole(c->gcluster) & htole(0xff000000ul)) == htole(0x02000000ul); } -// Is the cell part of a sprixel? -static inline uint32_t -cell_sprixel_id(const nccell* c){ - return htole(c->gcluster) & htole(0xfffffful); -} - // Is the cell simple (a UTF8-encoded EGC of four bytes or fewer)? static inline bool cell_simple_p(const nccell* c){ diff --git a/src/lib/render.c b/src/lib/render.c index 58d3d01be..1e510bb10 100644 --- a/src/lib/render.c +++ b/src/lib/render.c @@ -166,7 +166,7 @@ paint_sprixel(ncplane* p, struct crender* rvec, int starty, int startx, } sprixcell_e state = sprixel_state(s, absy, absx); struct crender* crender = &rvec[fbcellidx(absy, dstlenx, absx)]; -//fprintf(stderr, "presprixel: %p preid: %d id: %d state: %d\n", rvec->sprixel, rvec->sprixel ? rvec->sprixel->id : 0, cell_sprixel_id(vis), s->invalidated); +//fprintf(stderr, "presprixel: %p preid: %d state: %d\n", rvec->sprixel, rvec->sprixel ? rvec->sprixel->id : 0, s->invalidated); // if we already have a glyph solved (meaning said glyph is above this // sprixel), and we run into a bitmap cell, we need to null that cell out // of the bitmap.