Skip to content

Commit

Permalink
Remove unnecessary calll of _init_uniforms() in vfunc_paint_target()
Browse files Browse the repository at this point in the history
  • Loading branch information
a-parhom committed Mar 23, 2024
1 parent 247dfed commit a51ef6c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/effect/rounded_corners_effect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ export const RoundedCornersEffect = GObject.registerClass (
}

vfunc_paint_target (node: Clutter.PaintNode, ctx: Clutter.PaintContext) {
this._init_uniforms ()
// Reset to default blend string.
this.get_pipeline ()?.set_blend (
'RGBA = ADD(SRC_COLOR, DST_COLOR*(1-SRC_COLOR[A]))'
Expand Down

0 comments on commit a51ef6c

Please sign in to comment.