Copy state from src rendering context to glcontext.
mask contains the bitwise-OR of the same symbolic names that are passed to the glPushAttrib() function. You can use GL_ALL_ATTRIB_BITS to copy all the rendering state information.
the source context.
which portions of src state are to be copied to glcontext.
Return: FALSE if it fails, TRUE otherwise.
Copy state from src rendering context to glcontext.
mask contains the bitwise-OR of the same symbolic names that are passed to the glPushAttrib() function. You can use GL_ALL_ATTRIB_BITS to copy all the rendering state information.