Update watermarker.ts

This commit is contained in:
syuilo 2025-05-28 09:46:38 +09:00
parent cd296d60d8
commit 7754ccb73f
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/
const A_SHADER = `#version 300 es
const IMAGE_ADD_SHADER = `#version 300 es
precision highp float;
in vec2 in_uv;
@ -349,7 +349,7 @@ export class Watermarker {
in_uv = (position + 1.0) / 2.0;
gl_Position = vec4(position, 0.0, 1.0);
}
`, A_SHADER);
`, IMAGE_ADD_SHADER);
gl.useProgram(shaderProgram);