From 99d1ee7c0f248a9f589c177f8552adb913767173 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sun, 13 Mar 2022 20:13:25 +0100 Subject: [PATCH] Fix anti aliasing setting with iced OpenGL --- nih_plug_iced/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nih_plug_iced/src/lib.rs b/nih_plug_iced/src/lib.rs index 361a54a8..28dd4861 100644 --- a/nih_plug_iced/src/lib.rs +++ b/nih_plug_iced/src/lib.rs @@ -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() } }