[pixel] proper y dimension for sprixel planes #1401

pull/1418/head
nick black 3 years ago committed by Nick Black
parent 32d7af584d
commit 1153e53479

@ -500,7 +500,7 @@ auto ncvisual_render_pixels(tinfo* tcache, ncvisual* ncv, const blitset* bset,
struct ncplane_options nopts = {
.y = placey,
.x = placex,
.rows = 1,
.rows = disprows / tcache->cellpixy,
.cols = dispcols / tcache->cellpixx,
.userptr = nullptr,
.name = "rgba",

Loading…
Cancel
Save