s/POST_RENDER/POSTRENDER/

This commit is contained in:
Tom Payne
2012-09-27 13:59:20 +02:00
parent d61a117787
commit ac0e02039c
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -43,7 +43,7 @@ goog.require('ol.renderer.Layer');
* @enum {string} * @enum {string}
*/ */
ol.MapEventType = { ol.MapEventType = {
POST_RENDER: 'postrender' POSTRENDER: 'postrender'
}; };
@@ -616,7 +616,7 @@ ol.Map.prototype.renderFrame_ = function() {
if (goog.DEBUG) { if (goog.DEBUG) {
this.logger.info('postrender'); this.logger.info('postrender');
} }
this.dispatchEvent(ol.MapEventType.POST_RENDER); this.dispatchEvent(ol.MapEventType.POSTRENDER);
}; };
+2 -2
View File
@@ -199,7 +199,7 @@ ol.renderer.webgl.TileLayer.prototype.bindFramebuffer_ =
var map = this.getMap(); var map = this.getMap();
goog.events.listenOnce( goog.events.listenOnce(
map, map,
ol.MapEventType.POST_RENDER, ol.MapEventType.POSTRENDER,
goog.partial(function(gl, framebuffer, texture) { goog.partial(function(gl, framebuffer, texture) {
if (goog.DEBUG) { if (goog.DEBUG) {
this.logger.info('freeing WebGL resources on postrender'); this.logger.info('freeing WebGL resources on postrender');
@@ -479,7 +479,7 @@ ol.renderer.webgl.TileLayer.prototype.render = function() {
if (!goog.array.isEmpty(imagesToLoad)) { if (!goog.array.isEmpty(imagesToLoad)) {
goog.events.listenOnce( goog.events.listenOnce(
map, map,
ol.MapEventType.POST_RENDER, ol.MapEventType.POSTRENDER,
goog.partial(function(mapRenderer, imagesToLoad) { goog.partial(function(mapRenderer, imagesToLoad) {
if (goog.DEBUG) { if (goog.DEBUG) {
this.logger.info('uploading textures'); this.logger.info('uploading textures');