File tree 2 files changed +5
-9
lines changed
crates/bevy_ui/src/render
2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ impl SpecializedRenderPipeline for UiPipeline {
105
105
} ,
106
106
depth_stencil : None ,
107
107
multisample : MultisampleState {
108
- count : 1 ,
108
+ count : 4 ,
109
109
mask : !0 ,
110
110
alpha_to_coverage_enabled : false ,
111
111
} ,
Original file line number Diff line number Diff line change @@ -81,14 +81,10 @@ impl Node for UiPassNode {
81
81
} ;
82
82
let pass_descriptor = RenderPassDescriptor {
83
83
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
+ } ) ) ] ,
92
88
depth_stencil_attachment : None ,
93
89
} ;
94
90
You can’t perform that action at this time.
0 commit comments