glXDestroyContext.3gl
Digital Equipment Corporation OpenGL man pages

glXDestroyContext.3gl




Name

  glXDestroyContext - destroy a	GLX context


C Specification

  void glXDestroyContext( Display *dpy,
			  GLXContext ctx )


Parameters


  dpy  Specifies the connection	to the X server.


  ctx  Specifies the GLX context to be destroyed.


Description

  If GLX rendering context ctx is not current to any thread,
  glXDestroyContext  destroys it immediately.  Otherwise, ctx is destroyed
  when it becomes not current to any thread.  In either	case, the resource ID
  referenced by	ctx is freed immediately.


Errors

  GLXBadContext	is generated if	ctx is not a valid GLX context.


See Also

  glXCreateContext, glXMakeCurrent




Introduction | Alphabetic | Specification

Last Edited: Fri Dec 6 11:18:03 EST 1996 by AFV
Look here for legal stuff: Legal