Commit 16640845 authored by hybrid's avatar hybrid

The filename changes make troubles with uppercase/lowercase differences even...

The filename changes make troubles with uppercase/lowercase differences even on Windows. Temporary fix for LMTS loader here.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1761 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 1761aa4b
...@@ -23,7 +23,7 @@ namespace video ...@@ -23,7 +23,7 @@ namespace video
//! based on the file extension (e.g. ".tga") //! based on the file extension (e.g. ".tga")
bool CImageLoaderTGA::isALoadableFileExtension(const c8* fileName) const bool CImageLoaderTGA::isALoadableFileExtension(const c8* fileName) const
{ {
return strstr(fileName, ".tga") != 0; return (strstr(fileName, ".tga") != 0) || (strstr(fileName, ".TGA") != 0);
} }
......
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