LoadVideoPixelScale -> Stretch

pull/2331/head
nick black 3 years ago
parent b0acd369c8
commit f2a5ae589f
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -253,7 +253,7 @@ TEST_CASE("Media") {
}
// do a pixel video, reusing the same plane over and over
SUBCASE("LoadVideoPixelScaleOnePlane") {
SUBCASE("LoadVideoPixelStretchOnePlane") {
if(notcurses_check_pixel_support(nc_) > 0){
if(notcurses_canopen_videos(nc_)){
int dimy, dimx;
@ -268,7 +268,7 @@ TEST_CASE("Media") {
}
CHECK(0 == ret);
struct ncvisual_options opts{};
opts.scaling = NCSCALE_SCALE;
opts.scaling = NCSCALE_STRETCH;
opts.blitter = NCBLIT_PIXEL;
opts.n = n;
n = ncvisual_blit(nc_, ncv, &opts);

Loading…
Cancel
Save