From 5c8d675eedcd836cbb0d4eeadf203efc7f73752b Mon Sep 17 00:00:00 2001 From: xqso <69903545+xqso@users.noreply.github.com> Date: Fri, 25 Jul 2025 15:19:23 +0000 Subject: ci: correct tar command for xz compression & fix typos (#11213) --- src/render/shaders/glsl/border.frag | 2 +- src/render/shaders/glsl/rounding.glsl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/render/shaders') diff --git a/src/render/shaders/glsl/border.frag b/src/render/shaders/glsl/border.frag index 38ae24c0..d93773fd 100644 --- a/src/render/shaders/glsl/border.frag +++ b/src/render/shaders/glsl/border.frag @@ -127,7 +127,7 @@ void main() { pixCoord -= fullSize * 0.5 - radius; pixCoordOuter -= fullSize * 0.5 - radiusOuter; - // center the pixes dont make it top-left + // center the pixes don't make it top-left pixCoord += vec2(1.0, 1.0) / fullSize; pixCoordOuter += vec2(1.0, 1.0) / fullSize; diff --git a/src/render/shaders/glsl/rounding.glsl b/src/render/shaders/glsl/rounding.glsl index cae34465..472415fd 100644 --- a/src/render/shaders/glsl/rounding.glsl +++ b/src/render/shaders/glsl/rounding.glsl @@ -12,7 +12,7 @@ vec4 rounding(vec4 color) { pixCoord -= topLeft + fullSize * 0.5; pixCoord *= vec2(lessThan(pixCoord, vec2(0.0))) * -2.0 + 1.0; pixCoord -= fullSize * 0.5 - radius; - pixCoord += vec2(1.0, 1.0) / fullSize; // center the pix dont make it top-left + pixCoord += vec2(1.0, 1.0) / fullSize; // center the pix don't make it top-left if (pixCoord.x + pixCoord.y > radius) { float dist = pow(pow(pixCoord.x, roundingPower) + pow(pixCoord.y, roundingPower), 1.0/roundingPower); -- cgit v1.2.3