From eefeab5fd0be6f2be58d9eb6fe80b3a7973a13da Mon Sep 17 00:00:00 2001 From: hikerstk Date: Thu, 22 Apr 2010 13:19:24 +0000 Subject: [PATCH] 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 --- src/graphics/irr_driver.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/graphics/irr_driver.cpp b/src/graphics/irr_driver.cpp index 3322fa994..df82a5fa7 100644 --- a/src/graphics/irr_driver.cpp +++ b/src/graphics/irr_driver.cpp @@ -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