changed glXCopyContext() mask to unsigned long, per GLX spec