ncdirect_render_image: return NCERR_UNIMPLEMENTED #725

pull/730/head
nick black 4 years ago
parent 2c19987f97
commit 97a996927f
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -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,

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

Loading…
Cancel
Save