Commit 7e3e8f3c authored by hybrid's avatar hybrid

Fix wrong overload, found by Nalin.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2579 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 911ed2f6
......@@ -149,7 +149,7 @@ CImageLoaderRGB::CImageLoaderRGB()
//! returns true if the file maybe is able to be loaded by this class
//! based on the file extensions listed here
bool CImageLoaderRGB::isALoadableFileExtension(const irr::core::stringc &fileName) const
bool CImageLoaderRGB::isALoadableFileExtension(const core::string<c16>& filename) const
{
return core::hasFileExtension( fileName, "rgb", "rgba", "sgi" ) ||
core::hasFileExtension( fileName, "int", "inta", "bw" );
......
......@@ -147,7 +147,7 @@ public:
//! returns true if the file maybe is able to be loaded by this class
//! based on the file extension (e.g. ".tga")
virtual bool isALoadableFileExtension(const irr::core::stringc &fileName) const;
virtual bool isALoadableFileExtension(const core::string<c16>& filename) const;
//! returns true if the file maybe is able to be loaded by this class
virtual bool isALoadableFileFormat(io::IReadFile* file) const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment