Reference Manual glPushClientAttrib or glPopClientAttrib Subroutine Purpose Pushes and pops the attribute stack.
Parameters mask Specifies a mask that indicates which attributes to save.
Values for mask are listed below. The glPushClientAttrib subroutine takes one argument, a mask that indicates which groups of client state variables to save on the client attribute stack. Symbolic constants are used to set bits in the mask. The mask parameter is typically constructed by OR'ing several of these constants together. The glPopClientAttrib subroutine restores the values of the client state variables saved with the last glPushClientAttrib .