diff options
author | 2020-05-22 19:15:39 +0200 | |
---|---|---|
committer | 2020-05-22 19:15:39 +0200 | |
commit | 1dd79c4697ce39589bea84142334b3cbd242fb59 (patch) | |
tree | 680c0c769217bb706046f91521aa94ae78cd80bb /graphics | |
parent | 6f71a8e3d5e47ab05653315b0d44b35af6a20338 (diff) | |
download | iced-1dd79c4697ce39589bea84142334b3cbd242fb59.tar.gz iced-1dd79c4697ce39589bea84142334b3cbd242fb59.tar.bz2 iced-1dd79c4697ce39589bea84142334b3cbd242fb59.zip |
Use built-in OpenGL multisampling in `iced_glow`
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/src/window/gl_compositor.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/src/window/gl_compositor.rs b/graphics/src/window/gl_compositor.rs index 979d891e..aea898e3 100644 --- a/graphics/src/window/gl_compositor.rs +++ b/graphics/src/window/gl_compositor.rs @@ -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>>( |