Fix bug #11733: Textures missing on first beta away mission

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5214 4a71c877-e1ca-e34f-864e-861f7616d084
master
Per Inge Mathisen 2008-06-04 20:41:16 +00:00
parent fbd576a329
commit 402a93cbd4
1 changed files with 1 additions and 4 deletions

View File

@ -707,16 +707,13 @@ static BOOL dataTERTILESLoad(const char *fileName, void **ppData)
texLoad(fileName);
debug(LOG_TEXTURE, "HW Tiles loaded");
// set a dummy value so the release function gets called
*ppData = (void *)1;
*ppData = NULL; // don't bother calling cleanup
return true;
}
static void dataTERTILESRelease(WZ_DECL_UNUSED void *pData)
{
debug(LOG_TEXTURE, "=== dataTERTILESRelease ===");
pie_TexShutDown();
}