diff --git a/src/osgPlugins/jp2/ReaderWriterJP2.cpp b/src/osgPlugins/jp2/ReaderWriterJP2.cpp index 7b3c6cc42..2917b56c6 100644 --- a/src/osgPlugins/jp2/ReaderWriterJP2.cpp +++ b/src/osgPlugins/jp2/ReaderWriterJP2.cpp @@ -267,8 +267,7 @@ class ReaderWriterJP2 : public osgDB::ReaderWriter pixelFormat, dataType, data, -// osg::Image::USE_NEW_DELETE); - osg::Image::NO_DELETE); + osg::Image::USE_NEW_DELETE); OSG_INFO << "image read ok "<