summaryrefslogtreecommitdiff
path: root/src/render/shaders/glsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/shaders/glsl')
-rw-r--r--src/render/shaders/glsl/border.frag2
-rw-r--r--src/render/shaders/glsl/rounding.glsl2
2 files changed, 2 insertions, 2 deletions
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);