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
|
|
@ -51,6 +51,7 @@ pub fn run<A, E, C>(
|
|||
|
||||
let context = ContextBuilder::new()
|
||||
.with_vsync(true)
|
||||
.with_multisampling(C::sample_count(&compositor_settings) as u16)
|
||||
.build_windowed(builder, &event_loop)
|
||||
.expect("Open window");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue