ncdirect_render_image: return NCERR_UNIMPLEMENTED #725

This commit is contained in:
nick black 2020-06-19 15:24:26 -04:00
parent 2c19987f97
commit 97a996927f
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
2 changed files with 4 additions and 3 deletions

View File

@ -4,8 +4,6 @@ rearrangements of Notcurses.
* 1.5.2 (not yet released)
* The `ncneofetch` program has been added, of no great consequence.
* A `NULL` value can now be passed as `sbytes` to `ncplane_puttext()`.
* `ncdirect_render_image()` has been added, allowing images to be
rendered in direct mode.
* `ncvisual_geom()` now takes scaling into account.
* `notcurses_cantruecolor()` has been added, allowing clients to
determine whether the full RGB space is available to us. If not,

View File

@ -216,9 +216,12 @@ nc_err_e ncdirect_render_image(ncdirect* n, const char* file, ncblitter_e blitte
if(ncv == NULL){
return ret;
}
(void)blitter;
(void)scale;
(void)n;
// FIXME
ncvisual_destroy(ncv);
return NCERR_SUCCESS;
return NCERR_UNIMPLEMENTED; // FIXME
}
int ncdirect_stop(ncdirect* nc){