glXFreeContextEXT.3G man page

glXFreeContextEXT — free client-side memory for imported context

C Specification

void glXFreeContextEXT(Display * dpy, GLXContext ctx);

Parameters

dpy

Specifies the connection to the X server.

ctx

Specifies a GLX rendering context.

Description

glXFreeContextEXT frees the client-side part of a GLXContext that was created with glXImportContextEXT(). glXFreeContextEXT does not free the server-side context information or the XID associated with the server-side context.

glXFreeContextEXT is part of the GLX_EXT_import_context extension, not part of the core GLX command set. If GLX_EXT_import_context is included in the string returned by glXQueryExtensionsString(), the extension is supported.

Errors

GLXBadContext is generated if ctx does not refer to a valid context.

See Also

glXCreateContext(), glXQueryVersion(), glXQueryExtensionsString(), glXImportContextEXT()

Authors

opengl.org

Info

12/28/2016 opengl.org OpenGL Manual