glXCopyContext

copy state from one rendering context to another

Signature

glXCopyContext( Display * ( dpy ) , GLXContext ( src ) , GLXContext ( dst ) , unsigned long ( mask ) )-> void
glXCopyContext( dpy , src , dst , mask )

Parameters

VariablesDescription
dpy
Specifies the connection to the X server.
src
Specifies the source context.
dst
Specifies the destination context.
mask
Specifies which portions of src state are to be copied to dst .