Name
gl.PopClientAttrib -- pop the client attribute stack
Synopsis
gl.PopClientAttrib()
Function
gl.PopClientAttrib() restores the values of the client-state variables saved with the last gl.PushClientAttrib(). Those not saved are left unchanged.

See gl.PushClientAttrib for a list of supported client state variables.

It is an error to pop attributes off an empty stack. In that case, the error flag is set, and no other change is made to GL state.

Please consult an OpenGL reference manual for more information.

Inputs
none

Errors
#GL_STACK_UNDERFLOW is generated if gl.PopClientAttrib() is called while the attribute stack is empty.

Associated gets
gl.Get() with argument #GL_ATTRIB_STACK_DEPTH

gl.Get() with argument #GL_MAX_CLIENT_ATTRIB_STACK_DEPTH


Show TOC