From 80802dfbe93bf4797c0d1758e92c2b01f8c8ed91 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Mon, 7 Feb 2022 18:05:32 +0100 Subject: [PATCH] Make opengl context creation private for now --- src/gl/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)