viewerglwidget: fixed destroy function used with OIIO 1.x
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user