File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
sugarloaf/src/components/rich_text Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ use rustc_hash::FxHashMap;
16
16
use std:: { borrow:: Cow , mem} ;
17
17
use text:: { Glyph , TextRunStyle } ;
18
18
use wgpu:: util:: DeviceExt ;
19
- use wgpu:: { Texture , PrimitiveState , PrimitiveTopology } ;
19
+ use wgpu:: { Texture , PrimitiveState } ;
20
20
21
21
// Note: currently it's using Indexed drawing instead of Instance drawing could be worth to
22
22
// evaluate if would make sense move to instance drawing instead
@@ -246,10 +246,7 @@ impl RichTextBrush {
246
246
write_mask : wgpu:: ColorWrites :: ALL ,
247
247
} ) ] ,
248
248
} ) ,
249
- primitive : PrimitiveState {
250
- topology : PrimitiveTopology :: TriangleStrip ,
251
- ..Default :: default ( )
252
- } ,
249
+ primitive : PrimitiveState :: default ( ) ,
253
250
depth_stencil : None ,
254
251
multisample : wgpu:: MultisampleState :: default ( ) ,
255
252
multiview : None ,
You can’t perform that action at this time.
0 commit comments