Updated the plugins so they do the extension checking with a non

case sensitive comparison.
This commit is contained in:
Robert Osfield
2002-11-14 09:03:31 +00:00
parent e35a6ce097
commit 0980eeda1e
9 changed files with 72 additions and 68 deletions

View File

@@ -305,7 +305,7 @@ class ReaderWriterBMP : public osgDB::ReaderWriter
{
public:
virtual const char* className() { return "BMP Image Reader"; }
virtual bool acceptsExtension(const std::string& extension) { return extension=="bmp"; }
virtual bool acceptsExtension(const std::string& extension) { return osgDB::equalCaseInsensitive(extension,"bmp"); }
virtual ReadResult readImage(const std::string& fileName, const osgDB::ReaderWriter::Options*)
{