Scroll to navigation

GLXFREECONTEXTEXT(3G) OpenGL Manual GLXFREECONTEXTEXT(3G)

NAME

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()

COPYRIGHT

Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.

AUTHORS

opengl.org

04/12/2021 opengl.org