diff options
author | 2020-02-15 10:08:27 +0100 | |
---|---|---|
committer | 2020-02-15 10:08:27 +0100 | |
commit | dadae122533ae0916bebd04d6efab3de145263d4 (patch) | |
tree | d0fda3d65fe0e842e97547ba4b18c398ce45ab25 /src/application.rs | |
parent | 4969bfdb66cf2b33033cb642423bc326e288e15b (diff) | |
download | iced-dadae122533ae0916bebd04d6efab3de145263d4.tar.gz iced-dadae122533ae0916bebd04d6efab3de145263d4.tar.bz2 iced-dadae122533ae0916bebd04d6efab3de145263d4.zip |
Implement MSAA for `triangle` pipeline in `iced_wgpu`
Diffstat (limited to 'src/application.rs')
-rw-r--r-- | src/application.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/application.rs b/src/application.rs index 0a4b6d9e..1b73101a 100644 --- a/src/application.rs +++ b/src/application.rs @@ -178,6 +178,11 @@ pub trait Application: Sized { _settings.into(), iced_wgpu::Settings { default_font: _settings.default_font, + antialiasing: if _settings.antialiasing { + Some(iced_wgpu::settings::MSAA::X4) + } else { + None + }, }, ); |