diff --git a/src/gl/mod.rs b/src/gl/mod.rs index 5af8634..cb2e6c2 100644 --- a/src/gl/mod.rs +++ b/src/gl/mod.rs @@ -72,7 +72,7 @@ pub struct GlContext { } impl GlContext { - pub unsafe fn create( + pub(crate) unsafe fn create( parent: &impl HasRawWindowHandle, config: GlConfig, ) -> Result { platform::GlContext::create(parent, config)