diff --git a/src/core/graphics/webgl/WebGLGraphicsData.js b/src/core/graphics/webgl/WebGLGraphicsData.js index 8b62323..7e2022b 100644 --- a/src/core/graphics/webgl/WebGLGraphicsData.js +++ b/src/core/graphics/webgl/WebGLGraphicsData.js @@ -71,8 +71,8 @@ * Resets the vertices and the indices */ WebGLGraphicsData.prototype.reset = function () { - this.points = []; - this.indices = []; + this.points.length = 0; + this.indices.length = 0; }; /**