Delete WebGL buffers

This commit is contained in:
Éric Lemoine
2014-11-10 09:54:04 +01:00
parent d85c31e112
commit c79f3aa101
2 changed files with 18 additions and 7 deletions

View File

@@ -145,7 +145,7 @@ ol.renderer.webgl.VectorLayer.prototype.prepareFrame =
extent[3] = frameStateExtent[3] + yBuffer;
if (!goog.isNull(this.replayGroup_)) {
this.replayGroup_.deleteTextures(frameState, context);
this.replayGroup_.dispose(frameState, context);
}
this.dirty_ = false;