summaryrefslogtreecommitdiffstats
path: root/examples/solar_system
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/solar_system
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/solar_system')
-rw-r--r--examples/solar_system/src/main.rs5
1 files changed, 4 insertions, 1 deletions
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 {