keller: don't use NCSCALE_STRETCH with NCBLIT_PIXEL...yet #1381

This commit is contained in:
nick black 2021-03-07 14:16:16 -05:00
parent 9b2ce38385
commit cdf8685154
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -22,6 +22,9 @@ visualize(struct notcurses* nc, struct ncvisual* ncv){
.n = notcurses_stdplane(nc),
.y = 1,
};
if(vopts.blitter == NCBLIT_PIXEL){
vopts.scaling = NCSCALE_NONE;
}
if(ncvisual_render(nc, ncv, &vopts) == NULL){
return -1;
}