Erik Hofman wrote:

> David Megginson wrote:
> > Martin Spott wrote:
> > 
> >> Great idea - unfortunately 'fgfs' now dies with a segmentation fault
> >> just a split second after the FlightGear window appears (Linux),
> > 
> > 
> > Yes, I was using the wrong executable to test it. Give me about an 
> > hour, and I'll revert if I cannot fix the problem.
> 
> 
> There seems to be a problem with glut.
> It dumps core somewhere between idle_state = 1 and idle_state =2 in 
> fgIdleFunction().

Same problem with MSVC. fgReshape is called before viewmgr is 
initialized in main.cxx line 1335 :

    FGViewMgr *viewmgr = globals->get_viewmgr();
    for ( int i = 0; i < viewmgr->size(); ++i ) {
      viewmgr->get_view(i)->
        set_aspect_ratio((float)view_h / (float)width);
    }

viewmgr is 0x0000000

-Fred


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

Reply via email to