Fix skipping replay

This commit is contained in:
GaborFarkas
2016-11-01 16:28:56 +01:00
parent 697cbf16f0
commit 763bbca549
3 changed files with 3 additions and 0 deletions

View File

@@ -345,6 +345,7 @@ ol.render.webgl.CircleReplay.prototype.drawReplaySkipping_ = function(gl, contex
if (start !== end) {
this.drawElements(gl, context, start, end);
}
start = end = groupStart;
}
};

View File

@@ -563,6 +563,7 @@ ol.render.webgl.LineStringReplay.prototype.drawReplaySkipping_ = function(gl, co
this.drawElements(gl, context, start, end);
gl.clear(gl.DEPTH_BUFFER_BIT);
}
start = end = groupStart;
}
};

View File

@@ -971,6 +971,7 @@ ol.render.webgl.PolygonReplay.prototype.drawReplaySkipping_ = function(gl, conte
if (start !== end) {
this.drawElements(gl, context, start, end);
}
start = end = groupStart;
}
};