summaryrefslogtreecommitdiffstats
path: root/examples/clock
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-02-15 10:08:27 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-02-15 10:08:27 +0100
commitdadae122533ae0916bebd04d6efab3de145263d4 (patch)
treed0fda3d65fe0e842e97547ba4b18c398ce45ab25 /examples/clock
parent4969bfdb66cf2b33033cb642423bc326e288e15b (diff)
downloadiced-dadae122533ae0916bebd04d6efab3de145263d4.tar.gz
iced-dadae122533ae0916bebd04d6efab3de145263d4.tar.bz2
iced-dadae122533ae0916bebd04d6efab3de145263d4.zip
Implement MSAA for `triangle` pipeline in `iced_wgpu`
Diffstat (limited to 'examples/clock')
-rw-r--r--examples/clock/src/main.rs5
1 files changed, 4 insertions, 1 deletions
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 {