diff --git a/src/layaAir/laya/webgl/VertexArrayObject.ts b/src/layaAir/laya/webgl/VertexArrayObject.ts index d4e7cb26b7..7b31abee3c 100644 --- a/src/layaAir/laya/webgl/VertexArrayObject.ts +++ b/src/layaAir/laya/webgl/VertexArrayObject.ts @@ -189,7 +189,7 @@ export class VertexArrayObject { var contextWasLost = this.vertexArrayObjects !== undefined; if (contextWasLost) { for (var ii = 0; ii < this.vertexArrayObjects.length; ++ii) { - this.vertexArrayObjects.isAlive = false; + this.vertexArrayObjects[ii].isAlive = false; } } var gl = this.gl;