Added support into passing the ReaderWriter::Options structure onto readImageFile

This commit is contained in:
Robert Osfield
2005-02-11 10:00:50 +00:00
parent 6747e6ff1f
commit 192daa0408
2 changed files with 8 additions and 14 deletions

View File

@@ -617,7 +617,7 @@ osg::Image* DataInputStream::readImage(std::string filename)
// Image is not in list.
// Read it from disk,
osg::Image* image = osgDB::readImageFile(filename.c_str());
osg::Image* image = osgDB::readImageFile(filename.c_str(),_options.get());
// add it to the imageList,
_imageMap[filename] = image;