At 7:11 PM -0800 2/10/04, Ian Romanick wrote:
Torrey Lyons wrote:

These fixes have the side effect of breaking GLX on Mac OS X. The problem is the addition of new server side dependencies on glPointParameteri, glPointParameteriv, glSampleMaskSGIS, glSamplePatternSGIS. Mac OS X instead uses glPointParameteriNV and glPointParameterivNV and GL_SGIS_multisample is not supported. I can fix these by substituting the glPointParameter*NV calls and removing the

I think it would be better to put the '#ifdef __DARWIN__' in the dispatch code. I'm not terribly fond of using #defines like that.

Sounds fine.


Since NV_point_sprite isn't supported in all versions of OS X, is something more needed?

Yes, I was first trying to get it building again on Panther but I have also been working on Mac OS X 10.1.x issues in the background. There a number of other changes that are needed for anything earlier then Mac OS X 10.2.3 when they added OpenGL 1.4. I can fold them all together as one patch.


http://developer.apple.com/opengl/extensions.html#GL_NV_point_sprite

calls to the glSample*SGIS functions as shown in the patch below. Note the server still says it supports the glx extension GLX_SGIS_multisample. Should I add an #ifdef to glxscreens.c as well to remove claiming this extension? Any other comments?

Absolutely. If it's in the extension string, some application could try to use that functionality and get a nasty surprise.

Sounds good. I'll do the same for the Mac OS X 10.2.2 and earlier changes which require removing other extensions.


--Torrey
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to