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