Batching bug Linux\Ubuntu Firefox

I use textures batching in my game and all is fine, but I discovered that in Firefox on Ubuntu/Linux there is an error like “Programs with more than 16 samplers are disallowed on Mesa drivers to avoid crashing”. I find that in PIXI there is a solution: link . But how can I solve it on Phaser? Thank you)
P.S I batch only 2 textures.

Stupid question, i know)
Answer is:
this.game.renderer.maxTextures = Math.min(this.game.renderer.maxTextures, 16);
But i didn’t tried it yet. If it works i’ll tell)

game.config has maxTextures and batchSize options.

In the Phaser CE? I didn’t know that)

Oops :slight_smile: Thought I was looking at Phaser 3…

1 Like