Move compositor module access from window to crate
This commit is contained in:
parent
5be1ac18fe
commit
984d1f375e
8 changed files with 27 additions and 22 deletions
|
|
@ -1,10 +1,10 @@
|
|||
//! Draw graphics to window surfaces.
|
||||
mod compositor;
|
||||
pub mod compositor;
|
||||
|
||||
#[cfg(feature = "opengl")]
|
||||
mod gl_compositor;
|
||||
pub mod gl_compositor;
|
||||
|
||||
pub use compositor::{Compositor, Information, SurfaceError};
|
||||
pub use compositor::Compositor;
|
||||
|
||||
#[cfg(feature = "opengl")]
|
||||
pub use gl_compositor::GLCompositor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue