Skip to content

Commit 127fd7b

Browse files
committed
1 parent 7b730c9 commit 127fd7b

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

crates/bevy_ui/src/render/pipeline.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ impl SpecializedRenderPipeline for UiPipeline {
105105
},
106106
depth_stencil: None,
107107
multisample: MultisampleState {
108-
count: 1,
108+
count: 4,
109109
mask: !0,
110110
alpha_to_coverage_enabled: false,
111111
},

crates/bevy_ui/src/render/render_pass.rs

+4-8
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,10 @@ impl Node for UiPassNode {
8181
};
8282
let pass_descriptor = RenderPassDescriptor {
8383
label: Some("ui_pass"),
84-
color_attachments: &[Some(RenderPassColorAttachment {
85-
view: &target.view,
86-
resolve_target: None,
87-
ops: Operations {
88-
load: LoadOp::Load,
89-
store: true,
90-
},
91-
})],
84+
color_attachments: &[Some(target.get_color_attachment(Operations {
85+
load: LoadOp::Load,
86+
store: true,
87+
}))],
9288
depth_stencil_attachment: None,
9389
};
9490

0 commit comments

Comments
 (0)