Open ankush-badyal opened 6 years ago
Please also update following line in the Pixi.DisplayObject's _generateCachedSprite function: var renderTexture = new Phaser.RenderTexture(this.game, bounds.width, bounds.height, undefined, undefined, undefined, this.game.renderer, textureUnit);
This Issue is about (pick one, ✏️ delete others)
Error is in this piece of code -
The below function is not associated with a class so "this.renderBuffer" is not accessible. Possible fix is calling this function using call method and passing "this" as context.