[go: up one dir, main page]

glfwGetEGLDisplay

Function glfwGetEGLDisplay 

Source
pub unsafe extern "C" fn glfwGetEGLDisplay() -> *mut c_void
Expand description

@brief Returns the EGLDisplay used by GLFW.

@return The EGLDisplay used by GLFW, or EGL_NO_DISPLAY if an error occurred.

@errors Possible errors include @ref GLFW_NOT_INITIALIZED.

@remark Because EGL is initialized on demand, this function will return EGL_NO_DISPLAY until the first context has been created via EGL.

@thread_safety This function may be called from any thread. Access is not synchronized.

@since Added in version 3.0.

@ingroup native