Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ glXDestroyContext(3) — Tru64 UNIX 5.1b

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

glXCreateContext(3)

glXMakeCurrent(3)

glXDestroyContext()

NAME

glXDestroyContext − destroy a GLX context

SYNOPSIS

void glXDestroyContext(
        Display ∗dpy,
        GLXContext ctx );

PARAMETERS

dpySpecifies the connection to the X server. 

ctxSpecifies the GLX context to be destroyed. 

DESCRIPTION

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. 

SEE ALSO

glXCreateContext(3), glXMakeCurrent(3)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026