diff --git a/src/ol/layer/WebGLPoints.js b/src/ol/layer/WebGLPoints.js index a49ff9e21e..cddb218a54 100644 --- a/src/ol/layer/WebGLPoints.js +++ b/src/ol/layer/WebGLPoints.js @@ -24,7 +24,7 @@ import Layer from './Layer.js'; * @property {number} [maxResolution] The maximum resolution (exclusive) below which this layer will * be visible. * @property {import("../source/Vector.js").default} [source] Source. - * @property {boolean} [disableHitDetection] Setting this to true will provide a slight performance boost, but will + * @property {boolean} [disableHitDetection=false] Setting this to true will provide a slight performance boost, but will * prevent all hit detection on the layer. */ diff --git a/src/ol/webgl/PostProcessingPass.js b/src/ol/webgl/PostProcessingPass.js index 683e600c41..018d32acf7 100644 --- a/src/ol/webgl/PostProcessingPass.js +++ b/src/ol/webgl/PostProcessingPass.js @@ -24,7 +24,6 @@ const DEFAULT_FRAGMENT_SHADER = ` uniform sampler2D u_image; varying vec2 v_texCoord; - varying vec2 v_screenCoord; void main() { gl_FragColor = texture2D(u_image, v_texCoord); @@ -89,7 +88,6 @@ const DEFAULT_FRAGMENT_SHADER = ` * uniform sampler2D u_image; * * varying vec2 v_texCoord; - * varying vec2 v_screenCoord; * * void main() { * gl_FragColor = texture2D(u_image, v_texCoord);