mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-06 23:21:57 -07:00
fixing your shit.
This commit is contained in:
@@ -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;
|
||||||
})#";
|
}
|
||||||
|
)#";
|
||||||
|
Reference in New Issue
Block a user