Remove unused variable from vertex shader

This commit is contained in:
Frederic Junod
2019-11-07 08:57:14 +01:00
parent 77bc6897dd
commit 5c023adc08
2 changed files with 1 additions and 3 deletions

View File

@@ -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.
*/

View File

@@ -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);