Fixed build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF
This commit is contained in:
parent
b6888f7914
commit
683e201dd7
@ -580,7 +580,7 @@ void OutputStream::writeImage( const osg::Image* img )
|
||||
case IMAGE_INLINE_FILE:
|
||||
if ( isBinary() )
|
||||
{
|
||||
std::string fullPath = osgDB::findDataFile( img->getFileName(), _options );
|
||||
std::string fullPath = osgDB::findDataFile( img->getFileName(), _options.get() );
|
||||
osgDB::ifstream infile( fullPath.c_str(), std::ios::in|std::ios::binary );
|
||||
if ( infile )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user