summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
Diffstat (limited to 'src/render')
-rw-r--r--src/render/shaders/Textures.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/render/shaders/Textures.hpp b/src/render/shaders/Textures.hpp
index e571d662..0928487f 100644
--- a/src/render/shaders/Textures.hpp
+++ b/src/render/shaders/Textures.hpp
@@ -120,8 +120,10 @@ void main() {
pixColor[2] = pixColor[2] * tint[2];
}
+ if (radius > 0.0) {
)#" +
ROUNDED_SHADER_FUNC("pixColor") + R"#(
+ }
gl_FragColor = pixColor * alpha;
})#";
@@ -167,8 +169,10 @@ void main() {
pixColor[2] = pixColor[2] * tint[2];
}
+ if (radius > 0.0) {
)#" +
ROUNDED_SHADER_FUNC("pixColor") + R"#(
+ }
gl_FragColor = pixColor * alpha;
})#";
@@ -255,8 +259,10 @@ void main() {
pixColor[2] = pixColor[2] * tint[2];
}
+ if (radius > 0.0) {
)#" +
ROUNDED_SHADER_FUNC("pixColor") + R"#(
+ }
gl_FragColor = pixColor * alpha;
}