diff options
author | 2020-05-22 19:15:39 +0200 | |
---|---|---|
committer | 2020-05-22 19:15:39 +0200 | |
commit | 1dd79c4697ce39589bea84142334b3cbd242fb59 (patch) | |
tree | 680c0c769217bb706046f91521aa94ae78cd80bb /glutin | |
parent | 6f71a8e3d5e47ab05653315b0d44b35af6a20338 (diff) | |
download | iced-1dd79c4697ce39589bea84142334b3cbd242fb59.tar.gz iced-1dd79c4697ce39589bea84142334b3cbd242fb59.tar.bz2 iced-1dd79c4697ce39589bea84142334b3cbd242fb59.zip |
Use built-in OpenGL multisampling in `iced_glow`
Diffstat (limited to 'glutin')
-rw-r--r-- | glutin/src/application.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/glutin/src/application.rs b/glutin/src/application.rs index 3bb7478a..2e6f34af 100644 --- a/glutin/src/application.rs +++ b/glutin/src/application.rs @@ -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"); |