For those who may care, I fixed the MacOS problems. It turns out that
the OpenGL Extension that FlightGear are referencing have ARB
extensions rather than EXT. I.e.,
glPointParameterfvEXT
glPointParameterfEXT
becomes
glPointParameterfvARB
glPointParameterfARB
Jonathan Polley
Here is the CVS diff.
Index: main.cxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/FlightGear/src/Main/main.cxx,v
retrieving revision 1.53
diff -r1.53 main.cxx
53a54,58
> #if defined (__APPLE__)
> #define GL_SGIS_point_parameters 1
> #include <OpenGL/glext.h>
> #endif
>
748a754,757
> #if defined (__APPLE__)
> glPointParameterfvARB(GL_DISTANCE_ATTENUATION_EXT,
quadratic);
> glPointParameterfARB(GL_POINT_SIZE_MIN_EXT, 1.0);
> #else
750c759,760
< glPointParameterfEXT(GL_POINT_SIZE_MIN_EXT, 1.0);
---
> glPointParameterfEXT(GL_POINT_SIZE_MIN_EXT, 1.0);
> #endif
792a803,806
> #if defined (__APPLE__)
> glPointParameterfvARB(GL_DISTANCE_ATTENUATION_EXT,
> default_attenuation);
> #else
794a809
> #endif
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
- [Flightgear-devel] MSVC Build Problems in src/Main/main.cx... Jonathan Polley
- Re: [Flightgear-devel] MSVC Build Problems in src/Mai... Norman Vine
- Re: [Flightgear-devel] MSVC Build Problems in src... Jonathan Polley
- Re: [Flightgear-devel] MSVC Build Problems in... Jonathan Polley
- Re: [Flightgear-devel] MSVC Build Problem... Norman Vine
- Re: [Flightgear-devel] MSVC Build Problem... Erik Hofman