Fix typo in WebGL map renderer

This commit is contained in:
Tom Payne
2013-03-09 19:55:49 +01:00
parent a138b5a5a3
commit 3910ec0dbb
+3 -3
View File
@@ -153,7 +153,7 @@ ol.renderer.webgl.Map = function(container, map) {
goog.events.listen(this.canvas_, ol.webgl.WebGLContextEventType.LOST, goog.events.listen(this.canvas_, ol.webgl.WebGLContextEventType.LOST,
this.handleWebGLContextLost, false, this); this.handleWebGLContextLost, false, this);
goog.events.listen(this.canvas_, ol.webgl.WebGLContextEventType.RESTORED, goog.events.listen(this.canvas_, ol.webgl.WebGLContextEventType.RESTORED,
this.handleWebGLContextResourced, false, this); this.handleWebGLContextRestored, false, this);
/** /**
* @private * @private
@@ -433,9 +433,9 @@ ol.renderer.webgl.Map.prototype.handleWebGLContextLost = function(event) {
/** /**
* @protected * @protected
*/ */
ol.renderer.webgl.Map.prototype.handleWebGLContextResourced = function() { ol.renderer.webgl.Map.prototype.handleWebGLContextRestored = function() {
if (goog.DEBUG) { if (goog.DEBUG) {
this.logger.info('WebGLContextResourced'); this.logger.info('WebGLContextRestored');
} }
this.initializeGL_(); this.initializeGL_();
this.getMap().render(); this.getMap().render();