Move glium.rs

This commit is contained in:
Drakulix 2017-06-02 13:17:06 +02:00
parent 2c9f6a7479
commit e191c08186
3 changed files with 3 additions and 6 deletions

View File

@ -31,3 +31,5 @@ pub trait GraphicsBackend {
pub mod software; pub mod software;
pub mod egl; pub mod egl;
#[cfg(feature = "renderer_glium")]
pub mod glium;

View File

@ -21,12 +21,7 @@ pub mod winit;
#[cfg(feature = "backend_libinput")] #[cfg(feature = "backend_libinput")]
pub mod libinput; pub mod libinput;
#[cfg(feature = "renderer_glium")] // Internal functions that need to be accessible by the different backend implementations
mod glium;
#[cfg(feature = "renderer_glium")]
pub use glium::*;
/// Internal functions that need to be accessible by the different backend implementations
trait SeatInternal { trait SeatInternal {
fn new(id: u64, capabilities: input::SeatCapabilities) -> Self; fn new(id: u64, capabilities: input::SeatCapabilities) -> Self;