Skip to content

Commit

Permalink
paint(): set crender->blitterstacked
Browse files Browse the repository at this point in the history
Iff cell_blitted_p() when we select the glyph in paint(),
we ought enter blitter stacking mode. Make this decision
in paint() #1068.
  • Loading branch information
dankamongmen committed Jan 31, 2021
1 parent db68772 commit 27da94c
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 @@ -334,6 +334,7 @@ paint(const ncplane* p, struct crender* rvec, int dstleny, int dstlenx,
// if the following is true, we're a real glyph, and not the right-hand
// side of a wide glyph (nor the null codepoint).
if( (targc->gcluster = vis->gcluster) ){ // index copy only
crender->blitterstacked = cell_blitted_p(vis);
// we can't plop down a wide glyph if the next cell is beyond the
// screen, nor if we're bisected by a higher plane.
if(cell_double_wide_p(vis)){
Expand Down

0 comments on commit 27da94c

Please sign in to comment.