Module type for ol.webgl.Context

This commit is contained in:
Frederic Junod
2018-03-23 12:17:42 +01:00
parent 353a3b77b6
commit 5306490733
10 changed files with 28 additions and 28 deletions

View File

@@ -92,7 +92,7 @@ const WebGLMapRenderer = function(container, map) {
/**
* @private
* @type {ol.webgl.Context}
* @type {module:ol/webgl/Context~WebGLContext}
*/
this.context_ = new WebGLContext(this.canvas_, this.gl_);
@@ -335,7 +335,7 @@ WebGLMapRenderer.prototype.expireCache_ = function(map, frameState) {
/**
* @return {ol.webgl.Context} The context.
* @return {module:ol/webgl/Context~WebGLContext} The context.
*/
WebGLMapRenderer.prototype.getContext = function() {
return this.context_;