remove meaningless notcurses_check_pixel_supprot() from ncplayer

pull/1876/head
nick black 3 years ago
parent 1189891167
commit 9d27bf1869
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -158,9 +158,6 @@ auto perframe(struct ncvisual* ncv, struct ncvisual_options* vopts,
}else if(keyp >= '0' && keyp <= '6' && !ni.alt && !ni.ctrl){
marsh->blitter = static_cast<ncblitter_e>(keyp - '0');
vopts->blitter = marsh->blitter;
if(vopts->blitter == NCBLIT_PIXEL){
notcurses_check_pixel_support(nc);
}
continue;
}else if(keyp >= '7' && keyp <= '9' && !ni.alt && !ni.ctrl){
continue; // don't error out

Loading…
Cancel
Save