Skip to content

Commit

Permalink
Clear artifact of corners when border is zero
Browse files Browse the repository at this point in the history
Fix #52
  • Loading branch information
yilozt committed Sep 8, 2022
1 parent c56008f commit fd56e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/effect/shader/rounded_corners.frag
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,5 @@ void main() {

cogl_color_out = mix(cogl_color_out, vec4(border_color.rgb, 1.0), border_alpha * border_color.a);
}
cogl_color_out *= outer_alpha;
cogl_color_out.a *= outer_alpha;
}

0 comments on commit fd56e10

Please sign in to comment.