Lift common composite rendering code into ol.Map

This commit is contained in:
Tom Payne
2012-07-18 00:21:20 +02:00
parent 86335211a6
commit 659ef30802
3 changed files with 10 additions and 19 deletions

View File

@@ -413,12 +413,6 @@ ol.webgl.Map.prototype.redrawInternal = function() {
var animate = goog.base(this, 'redrawInternal');
this.forEachVisibleLayer(function(layer, layerRenderer) {
if (layerRenderer.redraw()) {
animate = true;
}
});
var gl = this.getGL();
gl.bindFramebuffer(goog.webgl.FRAMEBUFFER, null);