Re: [Flightgear-devel] [PATCH] unsupported extensions on Mac

2003-06-19 Thread Darrell Walisser
It turns out that there is a better way to fix it. Apple supports the 
ARB version of point parameters: GL_ARB_point_parameters. I think it 
takes the same arguments, but to different function names, and uses 
different constant names (though in actuality, they have the same 
value).

http://oss.sgi.com/projects/ogl-sample/registry/ARB/point_parameters.txt

Here's a new patch, that takes this into account:

http://homepage.mac.com/walisser/downloads/flightgearpointparams2.diff

I didn't notice any change with or without this extension enabled (can 
we get a screen shot up of what the runway lights are supposed to look 
like?). I don't know if it's being used incorrectly or if it is 
unsupported somehow in the hardware (GL_ARB_point_paramters is reported 
in the extensions string, btw).

On Thursday, June 19, 2003, at 09:12  AM, 
[EMAIL PROTECTED] wrote:

Darrell Walisser wrote:
The point parameters extensions are unsupported in Apple's GL stack. 
The
fix I've chosen is

#ifdef GL_SGIS_point_parameters

// do stuff here

#endif
Although I don't like to fix it this way (if all was correct this
wouldn't be necessary because it adds another compile time option while
extensions should be able to be runtime options only) I put it in CVS
because this weekend I'll be quite busy as it stands now and I like to
get CVS in a workable state again.
Thanks for the help Darrell.

Erik


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


[Flightgear-devel] [PATCH] unsupported extensions on Mac OS X

2003-06-18 Thread Darrell Walisser
The point parameters extensions are unsupported in Apple's GL stack. 
The fix I've chosen is

#ifdef GL_SGIS_point_parameters

// do stuff here

#endif

http://homepage.mac.com/walisser/downloads/flightgearpointparams.diff

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] [PATCH] unsupported extensions on Mac OS X

2003-06-19 Thread Erik Hofman
Darrell Walisser wrote:
The point parameters extensions are unsupported in Apple's GL stack. The 
fix I've chosen is

#ifdef GL_SGIS_point_parameters

// do stuff here

#endif
Although I don't like to fix it this way (if all was correct this 
wouldn't be necessary because it adds another compile time option while 
extensions should be able to be runtime options only) I put it in CVS 
because this weekend I'll be quite busy as it stands now and I like to 
get CVS in a workable state again.

Thanks for the help Darrell.

Erik

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel