mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-20 03:25:47 +00:00
keller: don't use NCSCALE_STRETCH with NCBLIT_PIXEL...yet #1381
This commit is contained in:
parent
9b2ce38385
commit
cdf8685154
@ -22,6 +22,9 @@ visualize(struct notcurses* nc, struct ncvisual* ncv){
|
|||||||
.n = notcurses_stdplane(nc),
|
.n = notcurses_stdplane(nc),
|
||||||
.y = 1,
|
.y = 1,
|
||||||
};
|
};
|
||||||
|
if(vopts.blitter == NCBLIT_PIXEL){
|
||||||
|
vopts.scaling = NCSCALE_NONE;
|
||||||
|
}
|
||||||
if(ncvisual_render(nc, ncv, &vopts) == NULL){
|
if(ncvisual_render(nc, ncv, &vopts) == NULL){
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user