gbm: do not expose egl support, if backend_egl is not enabled

This commit is contained in:
Victor Brekenfeld 2018-11-22 11:40:35 +01:00
parent cea123cd0b
commit 59e0ad87f9
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ mod surface;
pub use self::surface::GbmSurface;
use self::surface::GbmSurfaceInternal;
#[cfg(feature = "backend_egl")]
pub mod egl;
#[cfg(feature = "backend_session")]