*/
static GLXContext
create_context(Display *dpy, XMesaVisual xmvis,
- XMesaContext shareCtx, Bool direct)
+ XMesaContext shareCtx, Bool direct,
+ unsigned major, unsigned minor,
+ unsigned profileMask, unsigned contextFlags)
{
GLXContext glxCtx;
return create_context(dpy, xmvis,
shareCtx ? shareCtx->xmesaContext : NULL,
- direct);
+ direct,
+ 1, 0, GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB, 0x0);
}
return create_context(dpy, xmvis,
shareCtx ? shareCtx->xmesaContext : NULL,
- direct);
+ direct,
+ 1, 0, GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB, 0x0);
}
return create_context(dpy, xmvis,
shareCtx ? shareCtx->xmesaContext : NULL,
- direct);
+ direct,
+ 1, 0, GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB, 0x0);
}