[go: up one dir, main page]

glfwGetGLXContext

Function glfwGetGLXContext 

Source
pub unsafe extern "C" fn glfwGetGLXContext(
    window: *mut GLFWwindow,
) -> usize
Expand description

@brief Returns the GLXContext of the specified window.

@return The GLXContext of the specified window, or NULL if an error occurred.

@errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref GLFW_NO_WINDOW_CONTEXT and @ref GLFW_PLATFORM_UNAVAILABLE.

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

@since Added in version 3.0.

@ingroup native