viewerglwidget: fixed destroy function used with OIIO 1.x

This commit is contained in:
itsmattkc
2020-02-20 19:41:52 +11:00
parent 3bd1c885cf
commit 9faa303368
+1 -1
View File
@@ -114,7 +114,7 @@ void ViewerGLWidget::SetImage(const QString &fn)
has_image_ = true;
#if OIIO_VERSION < 10903
OIIO::ImageInput::destroy(image_);
OIIO::ImageInput::destroy(input);
#endif
} else {