gbm: do not expose egl support, if backend_egl is not enabled
This commit is contained in:
parent
cea123cd0b
commit
59e0ad87f9
|
@ -17,6 +17,7 @@ mod surface;
|
||||||
pub use self::surface::GbmSurface;
|
pub use self::surface::GbmSurface;
|
||||||
use self::surface::GbmSurfaceInternal;
|
use self::surface::GbmSurfaceInternal;
|
||||||
|
|
||||||
|
#[cfg(feature = "backend_egl")]
|
||||||
pub mod egl;
|
pub mod egl;
|
||||||
|
|
||||||
#[cfg(feature = "backend_session")]
|
#[cfg(feature = "backend_session")]
|
||||||
|
|
Loading…
Reference in New Issue