summaryrefslogtreecommitdiffstats
path: root/glutin/src
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-05-22 19:15:39 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-05-22 19:15:39 +0200
commit1dd79c4697ce39589bea84142334b3cbd242fb59 (patch)
tree680c0c769217bb706046f91521aa94ae78cd80bb /glutin/src
parent6f71a8e3d5e47ab05653315b0d44b35af6a20338 (diff)
downloadiced-1dd79c4697ce39589bea84142334b3cbd242fb59.tar.gz
iced-1dd79c4697ce39589bea84142334b3cbd242fb59.tar.bz2
iced-1dd79c4697ce39589bea84142334b3cbd242fb59.zip
Use built-in OpenGL multisampling in `iced_glow`
Diffstat (limited to 'glutin/src')
-rw-r--r--glutin/src/application.rs1
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");