Texture naming confusion
Posted: Fri Jun 20, 2008 7:13 pm
Hi all,
I just found a small bug in texture loading.
Try to load a file named : "sword.tga.png". It's originally a PNG file, but Irrlicht will recognize it as a TGA file (Unsupported TGA format).
I think the bug is that the texture extension is checked after the FIRST dot, and not before the LAST dot.
I just found a small bug in texture loading.
Try to load a file named : "sword.tga.png". It's originally a PNG file, but Irrlicht will recognize it as a TGA file (Unsupported TGA format).
I think the bug is that the texture extension is checked after the FIRST dot, and not before the LAST dot.