The MacOS X is a nogo. I get the following traceback when it crashes:
Thread 0 Crashed:
#0 0x90989544 in glGetIntegerv
#1 0x002125a8 in SkyTextureState::SkyTextureState[unified]()
(SkyTextureState.cpp:46)
#2 0x00211d04 in SkyMaterial::SkyMaterial[unified]()
(SkyMaterial.cpp:60)
#3 0x0016d450 in SkyLight::SkyLight[unified](SkyLight::SkyLightType)
(SkyLight.cpp:57)
#4 0x0031581c in _static_initialization_and_destruction_0(int, int)
(SkySceneLoader.cpp:50)
#5 0x8fe16594 in call_module_initializers_for_objects
#6 0x8fe160a0 in call_module_initializers
#7 0x8fe133ac in _dyld_make_delayed_module_initializer_calls
#8 0x00002464 in _call_mod_init_funcs (crt.c:300)
#9 0x0000234c in _start (crt.c:221)
#10 0x000022ac in start
I will try a clean build tonight.
Thanks,
Jonathan Polley
On Monday, September 16, 2002, at 11:22 PM, Norman Vine wrote:
>
> ----- Original Message -----
> From: "Jonathan Polley" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, September 17, 2002 12:03 AM
> Subject: Re: [Flightgear-devel] (no subject)
>
>
>> Thanks for the info, I'll give them a try tomorrow. On the glx
>> extensions, they won't work under MacOS X either. I'll take a look
>> through the OpenGL area and see if I can find a match.
>
> #ifndef WIN32
> # if defined(macintosh)
> # include <agl.h>
> # elif defined(__APPLE__)
> # include <OpenGL/CGLCurrent.h>
> # else
> # include <GL/glx.h>
> # endif
> #endif
>
> static bool glIsValidContext ( void )
> {
> #if defined(CONSOLE)
> return true ;
> #elif defined(WIN32)
> return ( wglGetCurrentContext () != NULL ) ;
> #elif defined(macintosh)
> return ( aglGetCurrentContext () != NULL ) ;
> #elif defined(__APPLE__)
> return ( CGLGetCurrentContext () != NULL ) ;
> #else
> return ( glXGetCurrentContext () != NULL ) ;
> #endif
> }
>
>
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel