diff --git a/src/osgPlugins/dds/ReaderWriterDDS.cpp b/src/osgPlugins/dds/ReaderWriterDDS.cpp index 945b6d12b..44c75f458 100644 --- a/src/osgPlugins/dds/ReaderWriterDDS.cpp +++ b/src/osgPlugins/dds/ReaderWriterDDS.cpp @@ -732,7 +732,7 @@ public: osg::Image* osgImage = ReadDDSFile(fin); if (osgImage==NULL) return ReadResult::FILE_NOT_HANDLED; - if (options && options->getOptionString().find("flip")!=std::string::npos) + if (options && options->getOptionString().find("dds_flip")!=std::string::npos) { osgImage->flipVertical(); }