s/POST_RENDER/POSTRENDER/
This commit is contained in:
@@ -43,7 +43,7 @@ goog.require('ol.renderer.Layer');
|
||||
* @enum {string}
|
||||
*/
|
||||
ol.MapEventType = {
|
||||
POST_RENDER: 'postrender'
|
||||
POSTRENDER: 'postrender'
|
||||
};
|
||||
|
||||
|
||||
@@ -616,7 +616,7 @@ ol.Map.prototype.renderFrame_ = function() {
|
||||
if (goog.DEBUG) {
|
||||
this.logger.info('postrender');
|
||||
}
|
||||
this.dispatchEvent(ol.MapEventType.POST_RENDER);
|
||||
this.dispatchEvent(ol.MapEventType.POSTRENDER);
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -199,7 +199,7 @@ ol.renderer.webgl.TileLayer.prototype.bindFramebuffer_ =
|
||||
var map = this.getMap();
|
||||
goog.events.listenOnce(
|
||||
map,
|
||||
ol.MapEventType.POST_RENDER,
|
||||
ol.MapEventType.POSTRENDER,
|
||||
goog.partial(function(gl, framebuffer, texture) {
|
||||
if (goog.DEBUG) {
|
||||
this.logger.info('freeing WebGL resources on postrender');
|
||||
@@ -479,7 +479,7 @@ ol.renderer.webgl.TileLayer.prototype.render = function() {
|
||||
if (!goog.array.isEmpty(imagesToLoad)) {
|
||||
goog.events.listenOnce(
|
||||
map,
|
||||
ol.MapEventType.POST_RENDER,
|
||||
ol.MapEventType.POSTRENDER,
|
||||
goog.partial(function(mapRenderer, imagesToLoad) {
|
||||
if (goog.DEBUG) {
|
||||
this.logger.info('uploading textures');
|
||||
|
||||
Reference in New Issue
Block a user