diff -r a8a5037e2c8c lib/irrlicht/include/ITexture.h --- a/lib/irrlicht/include/ITexture.h Thu Jun 04 02:04:42 2009 +0200 +++ b/lib/irrlicht/include/ITexture.h Thu Jun 04 02:07:35 2009 +0200 @@ -104,7 +104,7 @@ //! constructor ITexture(const core::string& name) : Name(name) { - Name.make_lower(); + // Name.make_lower(); } //! Lock function. @@ -161,7 +161,7 @@ virtual bool hasMipMaps() const { return false; } //! Returns if the texture has an alpha channel - virtual bool hasAlpha() const { + virtual bool hasAlpha() const { return getColorFormat () == video::ECF_A8R8G8B8 || getColorFormat () == video::ECF_A1R5G5B5; } diff -r a8a5037e2c8c lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp --- a/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp Thu Jun 04 02:04:42 2009 +0200 +++ b/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp Thu Jun 04 02:07:35 2009 +0200 @@ -1592,7 +1592,7 @@ IGUIFont* ifont=0; f.Filename = filename; - f.Filename.make_lower(); + // f.Filename.make_lower(); s32 index = Fonts.binary_search(f); if (index != -1) @@ -1701,7 +1701,7 @@ SSpriteBank b; b.Filename = filename; - b.Filename.make_lower(); + // b.Filename.make_lower(); s32 index = Banks.binary_search(b); if (index != -1) diff -r a8a5037e2c8c lib/irrlicht/source/Irrlicht/CSceneManager.cpp --- a/lib/irrlicht/source/Irrlicht/CSceneManager.cpp Thu Jun 04 02:04:42 2009 +0200 +++ b/lib/irrlicht/source/Irrlicht/CSceneManager.cpp Thu Jun 04 02:07:35 2009 +0200 @@ -386,7 +386,7 @@ if (msh) return msh; - name.make_lower(); + // name.make_lower(); s32 count = MeshLoaderList.size(); for (s32 i=count-1; i>=0; --i) { @@ -493,8 +493,8 @@ if (!parent) parent = this; - CQuake3ShaderSceneNode* node = new CQuake3ShaderSceneNode( parent, - this, id, FileSystem, + CQuake3ShaderSceneNode* node = new CQuake3ShaderSceneNode( parent, + this, id, FileSystem, meshBuffer, shader ); node->drop();