-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TileSprite loadTexture crash #1495
Comments
@pandavigoureux29 Consider posting the issue to https://github.com/GoodBoyDigital/pixi.js/issues, if it has not already been done. |
I wouldn't bother, it looks like they've stopped fixing bugs in an attempt to break Pixi up into modules. That's going to take a while (and will make it incompatible with Phaser) so from now on I'm happy to fix Pixi issues directly in the Phaser source, which will include this. |
This is now fixed in dev branch. |
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.
The text was updated successfully, but these errors were encountered: