glcContext(3G)
glcContext - make a context current to a thread
As shipped in IRIX 6.5.15. Unchanged since IRIX 6.5.
NAME glcContext - make a context current to a thread C SPECIFICATION void glcContext( GLint inContext ) PARAMETERS inContext Context ID indicating which context to make current. DESCRIPTION glcContext assigns the value inContext to the issuing thread's current GLC context ID variable. If another context is already current to the thread, no error is generated but the context is released. Call glcContext with inContext set to zero to release a thread's current context. ERRORS GLC_PARAMETER_ERROR is generated if inContext is nonzero and is not the ID of one of the client's GLC contexts. GLC_STATE_ERROR is generated if inContext is the ID of a GLC context that is current to a thread other than the issuing thread. GLC_STATE_ERROR is generated if the issuing thread is executing a callback function that has been called from GLC. ASSOCIATED GETS glcGetCurrentContext SEE ALSO glcDeleteContext, glcGenContext, glcGetAllContexts, glcIsContext