[][src]Function egls::egl::load_with_priv

pub fn load_with_priv<F>(loadfn: F) where
    F: FnMut(&'static str) -> *const c_void

Load each EGL private symbol using a custom load function. This allows for the use of functions like glfwGetProcAddress or SDL_GL_GetProcAddress.

This example is not tested
gl::load_with_priv(|s| glfw.get_proc_address(s));