[pixel] proper y dimension for sprixel planes #1401

This commit is contained in:
nick black 2021-03-15 16:29:33 -04:00 committed by Nick Black
parent 32d7af584d
commit 1153e53479

View File

@ -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",