Skip to content

Commit d3c26f8

Browse files
committed
Removed old WebGL UV calls.
1 parent 94c3989 commit d3c26f8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/utils/Debug.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ Phaser.Utils.Debug.prototype = {
153153

154154
if (this.sprite)
155155
{
156-
PIXI.updateWebGLTexture(this.baseTexture, this.game.renderer.gl);
156+
this.baseTexture.dirty();
157157
}
158158

159159
},
@@ -208,7 +208,7 @@ Phaser.Utils.Debug.prototype = {
208208

209209
if (this.sprite)
210210
{
211-
PIXI.updateWebGLTexture(this.baseTexture, this.game.renderer.gl);
211+
this.baseTexture.dirty();
212212
}
213213

214214
},

0 commit comments

Comments
 (0)