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:
hikerstk 2010-04-22 13:19:24 +00:00
parent 4c534ee7b8
commit eefeab5fd0

View File

@ -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