dumb temp debugging hack

This commit is contained in:
Glenn Maynard
2004-09-05 06:54:36 +00:00
parent 24c5d6248b
commit c8e52ea1ac
2 changed files with 13 additions and 1 deletions
+3 -1
View File
@@ -60,10 +60,12 @@ void RageBitmapTexture::Reload()
* Dither forces dithering when loading 16-bit textures.
* Stretch forces the loaded image to fill the texture completely.
*/
extern bool g_bFoobar; /* temp hack */
void RageBitmapTexture::Create()
{
RageTextureID actualID = GetID();
g_bFoobar = ( Basename(actualID.filename) == "pledge.png" );
if( g_bFoobar ) LOG->Trace("save %s", actualID.filename.c_str());
/* Create (and return) a surface ready to be loaded to OpenGL */
/* Load the image into a RageSurface. */
CString error;