LoadVideoPixelScale -> Stretch

This commit is contained in:
nick black 2021-11-07 01:06:15 -04:00
parent b0acd369c8
commit f2a5ae589f
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -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);