From 59e0ad87f944b93f68fd6d9c5a7ecc19172a9ae2 Mon Sep 17 00:00:00 2001 From: Victor Brekenfeld Date: Thu, 22 Nov 2018 11:40:35 +0100 Subject: [PATCH] gbm: do not expose egl support, if backend_egl is not enabled --- src/backend/drm/gbm/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/drm/gbm/mod.rs b/src/backend/drm/gbm/mod.rs index 34d0fe0..208c317 100644 --- a/src/backend/drm/gbm/mod.rs +++ b/src/backend/drm/gbm/mod.rs @@ -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")]