Make opengl context creation private for now
This commit is contained in:
parent
6105cae01d
commit
80802dfbe9
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue