Merge pull request #591 from cacheflowe/dev
Fix PIXI.Texture.removeTextureFromCache()
This commit is contained in:
commit
8419c199df
1 changed files with 2 additions and 1 deletions
|
@ -230,7 +230,8 @@ PIXI.Texture.addTextureToCache = function(texture, id)
|
|||
PIXI.Texture.removeTextureFromCache = function(id)
|
||||
{
|
||||
var texture = PIXI.TextureCache[id];
|
||||
PIXI.TextureCache[id] = null;
|
||||
delete PIXI.TextureCache[id];
|
||||
delete PIXI.BaseTextureCache[id];
|
||||
return texture;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue