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 {
pub unsafe fn create(
pub(crate) unsafe fn create(
parent: &impl HasRawWindowHandle, config: GlConfig,
) -> Result<GlContext, GlError> {
platform::GlContext::create(parent, config)