From 580fe2d66037885ac7c04f8bed808aa803d4876a Mon Sep 17 00:00:00 2001 From: nick black Date: Thu, 20 May 2021 00:39:21 -0400 Subject: [PATCH] OIIO: comment about beg{x,y} and len{x,y} #1661 --- src/media/oiio.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/media/oiio.cpp b/src/media/oiio.cpp index 2c396d59a..de64045f4 100644 --- a/src/media/oiio.cpp +++ b/src/media/oiio.cpp @@ -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)){