diff --git a/glutin/src/api/wgl/surface.rs b/glutin/src/api/wgl/surface.rs index 7034bbf851..6ec93ce672 100644 --- a/glutin/src/api/wgl/surface.rs +++ b/glutin/src/api/wgl/surface.rs @@ -295,7 +295,7 @@ impl Sealed for Surface {} /// A wrapper around WGL surfaces. #[derive(Debug)] -pub enum WglSurface { +pub(crate) enum WglSurface { /// Surface backed by a window surface. Window(HWND, HDC), /// Surface backed by a pixel buffer.