[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
OpenGL 1.2 for AIX: Reference Manual

glXFreeContextEXT Subroutine

Purpose

Frees client-side memory for imported context.

Library

C bindings library: libGL.a

C Syntax

void glXFreeContextEXT(
    Display	 *dpy,
    GLXContext 	 ctx)

Description

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

The glXFreeContextEXT subroutine is part of the 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, when called with argument GLX_EXTENSIONS, extension EXT_vertex_array is supported.

Parameters

dpy Specifies the connection to the X server.
ctx Specifies a GLX rendering context.

Errors

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

Related Information

The glXCreateContext subroutine, glXQueryVersion subroutine, glXQueryExtensionsString subroutine, glXImportContextEXT subroutine.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]