mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 14:08:28 +00:00
If TextureSource.destroy
has a WebGL Texture it will tell the WebGL Renderer to reset the textures first, before deleting its texture.
This commit is contained in:
parent
a95c34ce92
commit
8a6a4a7219
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ var TextureSource = new Class({
|
|||
{
|
||||
if (this.glTexture)
|
||||
{
|
||||
this.renderer.deleteTexture(this.glTexture, false);
|
||||
this.renderer.deleteTexture(this.glTexture, true);
|
||||
}
|
||||
|
||||
if (this.isCanvas)
|
||||
|
|
Loading…
Add table
Reference in a new issue