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
+2 -2
View File
@@ -12,7 +12,7 @@ import Event from '../events/Event.js';
* @param {ol.render.VectorContext=} opt_vectorContext Vector context.
* @param {module:ol/PluggableMap~FrameState=} opt_frameState Frame state.
* @param {?CanvasRenderingContext2D=} opt_context Context.
* @param {?ol.webgl.Context=} opt_glContext WebGL Context.
* @param {?module:ol/webgl/Context~WebGLContext=} opt_glContext WebGL Context.
*/
const RenderEvent = function(
type, opt_vectorContext, opt_frameState, opt_context,
@@ -45,7 +45,7 @@ const RenderEvent = function(
/**
* WebGL context. Only available when a WebGL renderer is used, null
* otherwise.
* @type {ol.webgl.Context|null|undefined}
* @type {module:ol/webgl/Context~WebGLContext|null|undefined}
* @api
*/
this.glContext = opt_glContext;