From 42a8c7983f8c47d1d29793ae254e3aff2f057363 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Sat, 17 Nov 2018 11:17:18 +0100 Subject: [PATCH] Fix webgl types in ol/webgl/PostProcessingPass --- src/ol/webgl/PostProcessingPass.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ol/webgl/PostProcessingPass.js b/src/ol/webgl/PostProcessingPass.js index 68ff8196c4..024ea651f8 100644 --- a/src/ol/webgl/PostProcessingPass.js +++ b/src/ol/webgl/PostProcessingPass.js @@ -33,7 +33,7 @@ const DEFAULT_FRAGMENT_SHADER = ` /** * @typedef {Object} Options - * @property {WebGLContext} webGlContext WebGL context; mandatory. + * @property {WebGLRenderingContext} webGlContext WebGL context; mandatory. * @property {number} [scaleRatio] Scale ratio; if < 1, the post process will render to a texture smaller than * the main canvas that will then be sampled up (useful for saving resource on blur steps). * @property {string} [vertexShader] Vertex shader source @@ -43,7 +43,7 @@ const DEFAULT_FRAGMENT_SHADER = ` /** * @typedef {Object} UniformInternalDescription - * @property {UniformValue} value Value + * @property {import("./Helper").UniformValue} value Value * @property {number} location Location * @property {WebGLTexture} [texture] Texture * @private