Changeset 3291
- Timestamp:
- 08/16/04 23:14:19 (9 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/dds/ReaderWriterDDS.cpp
r3088 r3291 728 728 } 729 729 730 virtual ReadResult readImage(std::istream& fin, const Options* )730 virtual ReadResult readImage(std::istream& fin, const Options* options) 731 731 { 732 732 osg::Image* osgImage = ReadDDSFile(fin); 733 733 if (osgImage==NULL) return ReadResult::FILE_NOT_HANDLED; 734 735 if (options && options->getOptionString().find("flip")!=std::string::npos) 736 { 737 osgImage->flipVertical(); 738 } 739 734 740 return osgImage; 735 741 }
