Added better debug output for missing textures.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5238 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
4c534ee7b8
commit
eefeab5fd0
@ -688,6 +688,7 @@ video::ITexture *IrrDriver::getTexture(const std::string &filename)
|
||||
#ifndef NDEBUG
|
||||
if (out == NULL)
|
||||
{
|
||||
printf("Texture '%s' not found.\n", filename.c_str());
|
||||
printf("Put a breakpoint at line %s:%i to debug!\n", __FILE__, __LINE__ );
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user