Use built-in OpenGL multisampling in iced_glow

This commit is contained in:
Héctor Ramón Jiménez 2020-05-22 19:15:39 +02:00
parent 6f71a8e3d5
commit 1dd79c4697
6 changed files with 61 additions and 210 deletions

View file

@ -12,6 +12,8 @@ pub trait GLCompositor: Sized {
loader_function: impl FnMut(&str) -> *const c_void,
) -> (Self, Self::Renderer);
fn sample_count(settings: &Self::Settings) -> u32;
fn resize_viewport(&mut self, physical_size: Size<u32>);
fn draw<T: AsRef<str>>(