Skip to content

Commit bdf0eba

Browse files
committed
fix lint
1 parent ea6a43b commit bdf0eba

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/ruis/widget/base/blending_widget.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ class blending_widget : public virtual widget
6363
public:
6464
struct parameters {
6565
bool enabled = true;
66-
blending_factors factors = {
67-
ruis::render::context::blend_factor::src_alpha,
68-
ruis::render::context::blend_factor::one_minus_src_alpha,
69-
ruis::render::context::blend_factor::one,
70-
ruis::render::context::blend_factor::one_minus_src_alpha
66+
blending_factors factors = blending_factors{
67+
.src = ruis::render::context::blend_factor::src_alpha,
68+
.dst = ruis::render::context::blend_factor::one_minus_src_alpha,
69+
.src_alpha = ruis::render::context::blend_factor::one,
70+
.dst_alpha = ruis::render::context::blend_factor::one_minus_src_alpha
7171
};
7272
};
7373

0 commit comments

Comments
 (0)