[pixel] proper y dimension for sprixel planes #1401

pull/1418/head
nick black 4 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 = { struct ncplane_options nopts = {
.y = placey, .y = placey,
.x = placex, .x = placex,
.rows = 1, .rows = disprows / tcache->cellpixy,
.cols = dispcols / tcache->cellpixx, .cols = dispcols / tcache->cellpixx,
.userptr = nullptr, .userptr = nullptr,
.name = "rgba", .name = "rgba",

Loading…
Cancel
Save