1
0
Fork 0

Make opengl context creation private for now

This commit is contained in:
Robbert van der Helm 2022-02-07 18:05:32 +01:00
parent 6105cae01d
commit 80802dfbe9

View file

@ -72,7 +72,7 @@ pub struct GlContext {
} }
impl GlContext { impl GlContext {
pub unsafe fn create( pub(crate) unsafe fn create(
parent: &impl HasRawWindowHandle, config: GlConfig, parent: &impl HasRawWindowHandle, config: GlConfig,
) -> Result<GlContext, GlError> { ) -> Result<GlContext, GlError> {
platform::GlContext::create(parent, config) platform::GlContext::create(parent, config)