mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 04:29:48 +01:00
fixing your shit.
This commit is contained in:
parent
168a326609
commit
0549aa193f
1 changed files with 80 additions and 78 deletions
|
@ -36,7 +36,7 @@ inline static constexpr auto ROUNDED_SHADER_FUNC = [](const std::string colorVar
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
)#";
|
)#";
|
||||||
};
|
};
|
||||||
|
|
||||||
inline const std::string QUADVERTSRC = R"#(
|
inline const std::string QUADVERTSRC = R"#(
|
||||||
|
@ -67,6 +67,7 @@ uniform int primitiveMultisample;
|
||||||
uniform int ignoreCorners;
|
uniform int ignoreCorners;
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
|
|
||||||
vec4 pixColor = v_color;
|
vec4 pixColor = v_color;
|
||||||
|
|
||||||
if (radius > 0.0) {
|
if (radius > 0.0) {
|
||||||
|
@ -248,4 +249,5 @@ void main() {
|
||||||
)#" + ROUNDED_SHADER_FUNC("pixColor") + R"#(
|
)#" + ROUNDED_SHADER_FUNC("pixColor") + R"#(
|
||||||
|
|
||||||
gl_FragColor = pixColor * alpha;
|
gl_FragColor = pixColor * alpha;
|
||||||
})#";
|
}
|
||||||
|
)#";
|
||||||
|
|
Loading…
Reference in a new issue