diff options
| author | Felix Dick <felix.dick@web.de> | 2022-10-01 03:30:58 +0200 |
|---|---|---|
| committer | Felix Dick <felix.dick@web.de> | 2022-10-01 03:30:58 +0200 |
| commit | c6333ba79683792a6802606d524636649917ee7d (patch) | |
| tree | 483c2ebed317725d3424f3223c36cf5bee9999b9 /src/render | |
| parent | 6fe103cf06e99e4cd8c03e616b5a939067e7e165 (diff) | |
Remove unused ignoreCorners variable from texture shaders.
Diffstat (limited to 'src/render')
| -rw-r--r-- | src/render/shaders/Textures.hpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/render/shaders/Textures.hpp b/src/render/shaders/Textures.hpp index de5f0358..94abeb0d 100644 --- a/src/render/shaders/Textures.hpp +++ b/src/render/shaders/Textures.hpp @@ -13,9 +13,6 @@ inline static constexpr auto ROUNDED_SHADER_FUNC = [](const std::string colorVar if (pixCoord.x + pixCoord.y > radius) { - if (ignoreCorners == 1) - discard; - float dist = length(pixCoord); if (dist > radius) @@ -64,7 +61,6 @@ uniform vec2 fullSize; uniform float radius; uniform int primitiveMultisample; -uniform int ignoreCorners; void main() { @@ -104,7 +100,6 @@ uniform int applyTint; uniform vec3 tint; uniform int primitiveMultisample; -uniform int ignoreCorners; void main() { @@ -141,7 +136,6 @@ uniform int applyTint; uniform vec3 tint; uniform int primitiveMultisample; -uniform int ignoreCorners; void main() { @@ -227,7 +221,6 @@ uniform int applyTint; uniform vec3 tint; uniform int primitiveMultisample; -uniform int ignoreCorners; void main() { |
