mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
[pixel] proper y dimension for sprixel planes #1401
This commit is contained in:
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…
Reference in New Issue
Block a user