message: Fix crash on Adreno 3xx GPU devices (e.g. vivo 1606, vivo 1610, Xiaomi Redmi Note 4G)
diff: @@ -1151,9 +1151,10 @@ export class Graphics extends Container
  // but may be more than one plugins for graphics
  if (!DEFAULT_SHADERS[pluginName])
  {
  - const sampleValues = new Int32Array(16);
  + const MAX_TEXTURES = renderer.plugins.batch.MAX_TEXTURES;
  + const sampleValues = new Int32Array(MAX_TEXTURES);
  - for (let i = 0; i < 16; i++)
  + for (let i = 0; i < MAX_TEXTURES; i++)
  {
  sampleValues[i] = i;
  }
  