1
0
Fork 0

Fix anti aliasing setting with iced OpenGL

This commit is contained in:
Robbert van der Helm 2022-03-13 20:13:25 +01:00
parent fe1db50678
commit 99d1ee7c0f

View file

@ -110,7 +110,7 @@ pub trait IcedEditor: 'static + Send + Sync + Sized {
iced_baseview::renderer::settings::Settings {
// Enable some anti-aliasing by default. Since GUIs are likely very simple and most of
// the work will be on the CPU anyways this should not affect performance much.
antialiasing: Some(iced_baseview::renderer::Antialiasing::MSAAx4),
antialiasing: Some(iced_baseview::renderer::settings::Antialiasing::MSAAx4),
..iced_baseview::renderer::settings::Settings::default()
}
}