Skip to content

Commit 1b3aa7a

Browse files
committed
cleanup: Switch away from a long-deprecated OIIO method (#1842)
cleanup: Switch away from some long-deprecated OIIO functions Signed-off-by: Larry Gritz <[email protected]>
1 parent cc8f0d0 commit 1b3aa7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/osltoy/qtutils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ ImageBuf_to_QImage(const OIIO::ImageBuf& ib)
105105
return {};
106106

107107
if (ib.cachedpixels())
108-
const_cast<ImageBuf*>(&ib)->make_writeable(true);
108+
const_cast<ImageBuf*>(&ib)->make_writable(true);
109109
return QImage((const uchar*)ib.localpixels(), spec.width, spec.height,
110110
(int)spec.scanline_bytes(), format);
111111
}

0 commit comments

Comments
 (0)