Fix backend_drm feature

This commit is contained in:
Drakulix 2018-01-07 22:37:44 +01:00
parent 66c011c942
commit b125ce8005
1 changed files with 2 additions and 3 deletions

View File

@ -208,7 +208,6 @@
//! # } //! # }
//! ``` //! ```
#[cfg(feature = "backend_session")]
use backend::graphics::egl::context::{EGLContext, GlAttributes}; use backend::graphics::egl::context::{EGLContext, GlAttributes};
use backend::graphics::egl::error::Result as EGLResult; use backend::graphics::egl::error::Result as EGLResult;
use backend::graphics::egl::native::Gbm; use backend::graphics::egl::native::Gbm;
@ -231,9 +230,9 @@ use std::path::PathBuf;
use std::rc::{Rc, Weak}; use std::rc::{Rc, Weak};
use std::sync::{Once, ONCE_INIT}; use std::sync::{Once, ONCE_INIT};
use std::time::Duration; use std::time::Duration;
use wayland_server::{Display, EventLoopHandle, StateToken};
#[cfg(feature = "backend_session")] #[cfg(feature = "backend_session")]
use wayland_server::{Display, StateProxy}; use wayland_server::StateProxy;
use wayland_server::{EventLoopHandle, StateToken};
use wayland_server::sources::{FdEventSource, FdEventSourceImpl, FdInterest}; use wayland_server::sources::{FdEventSource, FdEventSourceImpl, FdInterest};
mod backend; mod backend;