diff options
author | 2020-02-15 10:08:27 +0100 | |
---|---|---|
committer | 2020-02-15 10:08:27 +0100 | |
commit | dadae122533ae0916bebd04d6efab3de145263d4 (patch) | |
tree | d0fda3d65fe0e842e97547ba4b18c398ce45ab25 /examples | |
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 '')
-rw-r--r-- | examples/bezier_tool/src/main.rs | 5 | ||||
-rw-r--r-- | examples/clock/src/main.rs | 5 | ||||
-rw-r--r-- | examples/solar_system/src/main.rs | 5 |
3 files changed, 12 insertions, 3 deletions
diff --git a/examples/bezier_tool/src/main.rs b/examples/bezier_tool/src/main.rs index efdb3924..023eb0f7 100644 --- a/examples/bezier_tool/src/main.rs +++ b/examples/bezier_tool/src/main.rs @@ -286,7 +286,10 @@ use iced::{ }; pub fn main() { - Example::run(Settings::default()) + Example::run(Settings { + antialiasing: true, + ..Settings::default() + }); } #[derive(Default)] diff --git a/examples/clock/src/main.rs b/examples/clock/src/main.rs index 0a70709f..f7fb6f2d 100644 --- a/examples/clock/src/main.rs +++ b/examples/clock/src/main.rs @@ -4,7 +4,10 @@ use iced::{ }; pub fn main() { - Clock::run(Settings::default()) + Clock::run(Settings { + antialiasing: true, + ..Settings::default() + }) } struct Clock { diff --git a/examples/solar_system/src/main.rs b/examples/solar_system/src/main.rs index d05acf84..9e7dba2f 100644 --- a/examples/solar_system/src/main.rs +++ b/examples/solar_system/src/main.rs @@ -14,7 +14,10 @@ use iced::{ use std::time::Instant; pub fn main() { - SolarSystem::run(Settings::default()) + SolarSystem::run(Settings { + antialiasing: true, + ..Settings::default() + }) } struct SolarSystem { |