message: update renderer spec resource counts
diff: @@ -53,17 +53,17 @@ describe('renderer', () => {
  scene.commit();
  expect(ctx.stats.resourceCounts.attribute).toBe(ctx.isWebGL2 ? 4 : 5);
  expect(ctx.stats.resourceCounts.texture).toBe(9);
  - expect(ctx.stats.resourceCounts.vertexArray).toBe(ctx.extensions.vertexArrayObject ? 5 : 0);
  - expect(ctx.stats.resourceCounts.program).toBe(5);
  - expect(ctx.stats.resourceCounts.shader).toBe(10);
  + expect(ctx.stats.resourceCounts.vertexArray).toBe(ctx.extensions.vertexArrayObject ? 6 : 0);
  + expect(ctx.stats.resourceCounts.program).toBe(6);
  + expect(ctx.stats.resourceCounts.shader).toBe(12);
  scene.remove(points);
  scene.commit();
  expect(ctx.stats.resourceCounts.attribute).toBe(0);
  expect(ctx.stats.resourceCounts.texture).toBe(1);
  expect(ctx.stats.resourceCounts.vertexArray).toBe(0);
  - expect(ctx.stats.resourceCounts.program).toBe(5);
  - expect(ctx.stats.resourceCounts.shader).toBe(10);
  + expect(ctx.stats.resourceCounts.program).toBe(6);
  + expect(ctx.stats.resourceCounts.shader).toBe(12);
  ctx.resources.destroy();
  expect(ctx.stats.resourceCounts.program).toBe(0);
  