Hello,
A month or two ago we changed a boolean flag in one of the glX calls to
FALSE from TRUE (because some Linux was happy somehow or other, I forget
now, it might have been over a network). Well it turns out that in OSX
(at least on the machine I was trying) it needs to be TRUE, otherwise you
get an X BadMatch error. Lines 401-404 in
ccpnmr/ccpnmr1.0/c/ccpnmr/global/gl_handler.c currently say:
/*
context = glXCreateContext(display, visual, None, GL_TRUE);
*/
context = glXCreateContext(display, visual, None, GL_FALSE);
and on the Mac we need that second GL_FALSE to be GL_TRUE. I think I'm
going to change that code to first try GL_TRUE and pray that it returns
NULL if that doesn't work and then try GL_FALSE. Hopefully that will keep
all parties happy.
Wayne
|