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-861f7616d084master
parent
fbd576a329
commit
402a93cbd4
|
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue