Build fixes for when OSG_USE_REF_PTR_IMPLICIT_OUTPUT is set to OFF
This commit is contained in:
@@ -280,7 +280,7 @@ public:
|
||||
osgDB::ofstream fout( fileName.c_str(), std::ios::out|std::ios::binary );
|
||||
if ( !fout ) return WriteResult::ERROR_IN_WRITING_FILE;
|
||||
|
||||
result = writeImage( image, fout, local_opt );
|
||||
result = writeImage( image, fout, local_opt.get() );
|
||||
fout.close();
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user