glXDestroyContext(3x)

glXDestroyContext3x

Destroy a glx context

C specification

void glXDestroyContext( Display *dpy,

	GLXContext ctx )

delim $$

Parameters

dpy

Specifies the connection to the X server.

ctx

Specifies the GLX context to be destroyed.

Overview

If the 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.

Releases

Unchanged in 2 releases since Debian 3.0 (Woody).

  1. 3.0–3.1

From xlibmesa-gl-dev 4.3.0.dfsg.1-14sarge7 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.