Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
HackerFoo committed Sep 5, 2022
1 parent 61a36fd commit 58d02c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion crates/bevy_ui/src/render/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ impl SpecializedRenderPipeline for UiPipeline {
},
depth_stencil: None,
multisample: MultisampleState {
count: 1,
count: 4,
mask: !0,
alpha_to_coverage_enabled: false,
},
Expand Down
12 changes: 4 additions & 8 deletions crates/bevy_ui/src/render/render_pass.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,10 @@ impl Node for UiPassNode {
};
let pass_descriptor = RenderPassDescriptor {
label: Some("ui_pass"),
color_attachments: &[Some(RenderPassColorAttachment {
view: &target.view,
resolve_target: None,
ops: Operations {
load: LoadOp::Load,
store: true,
},
})],
color_attachments: &[Some(target.get_color_attachment(Operations {
load: LoadOp::Load,
store: true,
}))],
depth_stencil_attachment: None,
};

Expand Down

0 comments on commit 58d02c4

Please sign in to comment.