Added clear of the render Buffers on Source Change
This commit is contained in:
1 parent
7091ed3de6
commit
275a22b685
1 file changed
+2
@@ -272,6 +272,8 @@ class WebGLPointsLayerRenderer extends LayerRenderer {
|
||||
|
||||
if (this.sourceRevision_ < vectorSource.getRevision()) {
|
||||
this.sourceRevision_ = vectorSource.getRevision();
|
||||
this.verticesBuffer_.getArray().length = 0;
|
||||
this.indicesBuffer_.getArray().length = 0;
|
||||
|
||||
const viewState = frameState.viewState;
|
||||
const projection = viewState.projection;
|
||||
|
||||
Reference in new issue
Block a user