Use built-in OpenGL multisampling in iced_glow
This commit is contained in:
parent
6f71a8e3d5
commit
1dd79c4697
6 changed files with 61 additions and 210 deletions
|
|
@ -170,9 +170,9 @@ impl Pipeline {
|
|||
],
|
||||
}],
|
||||
},
|
||||
sample_count: antialiasing
|
||||
.map(|a| a.sample_count())
|
||||
.unwrap_or(1),
|
||||
sample_count: u32::from(
|
||||
antialiasing.map(|a| a.sample_count()).unwrap_or(1),
|
||||
),
|
||||
sample_mask: !0,
|
||||
alpha_to_coverage_enabled: false,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue