|
|
@ -423,7 +423,7 @@ auto ncvisual_from_bgra(const void* bgra, int rows, int rowstride,
|
|
|
|
auto ncvisual_render(notcurses* nc, ncvisual* ncv,
|
|
|
|
auto ncvisual_render(notcurses* nc, ncvisual* ncv,
|
|
|
|
const struct ncvisual_options* vopts) -> ncplane* {
|
|
|
|
const struct ncvisual_options* vopts) -> ncplane* {
|
|
|
|
if(vopts && vopts->flags > NCVISUAL_OPTION_BLEND){
|
|
|
|
if(vopts && vopts->flags > NCVISUAL_OPTION_BLEND){
|
|
|
|
fprintf(stderr, "Warning: unknown ncvisual options %016jx\n", (uintmax_t)vopts->flags);
|
|
|
|
logwarn(nc, "Warning: unknown ncvisual options %016jx\n", (uintmax_t)vopts->flags);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
int lenx = vopts ? vopts->lenx : 0;
|
|
|
|
int lenx = vopts ? vopts->lenx : 0;
|
|
|
|
int leny = vopts ? vopts->leny : 0;
|
|
|
|
int leny = vopts ? vopts->leny : 0;
|
|
|
|