OIIO: comment about beg{x,y} and len{x,y} #1661

pull/1683/head
nick black 3 years ago committed by Nick Black
parent def4f5fd17
commit 580fe2d660

@ -158,6 +158,7 @@ int oiio_blit(struct ncvisual* ncv, int rows, int cols,
OIIO::ImageSpec sp{};
sp.width = cols;
sp.height = rows;
// FIXME need to honor leny/lenx and begy/begx
ibuf->reset(sp, OIIO::InitializePixels::Yes);
OIIO::ROI roi(0, cols, 0, rows, 0, 1, 0, 4);
if(!OIIO::ImageBufAlgo::resize(*ibuf, *ncv->details->ibuf, "", 0, roi)){

Loading…
Cancel
Save