move back rendering freeze/unfreeze and animation from map renderer to map

This commit is contained in:
Éric Lemoine
2012-08-16 15:00:14 +02:00
parent f7185f1c75
commit 89eadc5770
3 changed files with 102 additions and 105 deletions

View File

@@ -517,7 +517,7 @@ ol.webgl.MapRenderer.prototype.isImageTextureLoaded = function(image) {
/**
* @inheritDoc
*/
ol.webgl.MapRenderer.prototype.renderInternal = function() {
ol.webgl.MapRenderer.prototype.render = function() {
if (!this.getMap().isDef()) {
return false;
@@ -525,7 +525,7 @@ ol.webgl.MapRenderer.prototype.renderInternal = function() {
var size = this.getMap().getSize();
var animate = goog.base(this, 'renderInternal');
var animate = goog.base(this, 'render');
var gl = this.getGL();