CGLSetCurrentContext

Function CGLSetCurrentContext 

Source
pub unsafe extern "C-unwind" fn CGLSetCurrentContext(
    ctx: CGLContextObj,
) -> CGLError
๐Ÿ‘ŽDeprecated: The OpenGL API is deprecated by Apple
Available on crate features CGLCurrent and CGLTypes only.
Expand description

ยงSafety

ctx must be a valid pointer or null.