Jump to content

[2.2.1] TileSprite loadTexture crash


pandavigoureux29
 Share

Recommended Posts

Hi,

 

I've been encountering an issue since I uploaded to 2.2.1

 

I want to load a texture 

tilesprite.loadTexture("imageName");

With sprites, it works fine. But with tilesprites, it crashes :

 

Uncaught TypeError: undefined is not a function at phaser.js 10857

 

I went to phaser.js to see the line that looks like this :

PIXI.updateWebGLTexture(this.tilingTexture.baseTexture, renderSession.gl);

It seems that PIXI.updateWebGLTexture is undefined ! ( I console.log it )

Just so you know, I'm in WebGL mode.

 

Thanks for your help

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...