mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-18 03:25:55 +00:00
ncpp: drop USE_FFMPEG guards #488
This commit is contained in:
parent
c6aa99afba
commit
43c8b9fdb6
@ -991,7 +991,6 @@ namespace ncpp
|
|||||||
|
|
||||||
static Plane* map_plane (ncplane *ncp, Plane *associated_plane = nullptr) noexcept;
|
static Plane* map_plane (ncplane *ncp, Plane *associated_plane = nullptr) noexcept;
|
||||||
|
|
||||||
#ifdef USE_FFMPEG
|
|
||||||
bool blit_bgrx (int placey, int placex, int linesize, const void* data, int begy, int begx, int leny, int lenx) const NOEXCEPT_MAYBE
|
bool blit_bgrx (int placey, int placex, int linesize, const void* data, int begy, int begx, int leny, int lenx) const NOEXCEPT_MAYBE
|
||||||
{
|
{
|
||||||
bool ret = ncblit_bgrx (plane, placey, placex, linesize, data, begy, begx, leny, lenx) < 0;
|
bool ret = ncblit_bgrx (plane, placey, placex, linesize, data, begy, begx, leny, lenx) < 0;
|
||||||
@ -1003,7 +1002,6 @@ namespace ncpp
|
|||||||
bool ret = ncblit_rgba (plane, placey, placex, linesize, data, begy, begx, leny, lenx) < 0;
|
bool ret = ncblit_rgba (plane, placey, placex, linesize, data, begy, begx, leny, lenx) < 0;
|
||||||
return error_guard_cond<bool, bool> (ret, ret);
|
return error_guard_cond<bool, bool> (ret, ret);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
explicit Plane (ncplane *_plane, bool _is_stdplane)
|
explicit Plane (ncplane *_plane, bool _is_stdplane)
|
||||||
|
Loading…
Reference in New Issue
Block a user