C
glXCopyContext
Chapter 3
69
Errors
• BadMatch is generated if rendering contexts src and dst do not share an address
space or were not created with respect to the same screen.
• BadAccess is generated if dst is current to any thread (including the calling thread)
at the time glXCopyContext is called.
• GLXBadCurrentWindow is generated if src is the current context and the current
drawable is a window that is no longer valid.
• GLXBadContext is generated if either src or dst is not a valid GLX context.
See Also
glPushAttrib,
glXCreateContext,
glXIsDirect