On Tue 12. March 2002 14:27, you wrote: > > -----Original Message----- > > From: Martin Dressler [mailto:[EMAIL PROTECTED]] > > Sent: 12 March 2002 12:48 pm > > To: [EMAIL PROTECTED] > > Subject: Re: [Flightgear-devel] fgReshape > > > > On Mon 11. March 2002 09:12, you wrote: > > > * [EMAIL PROTECTED] (Martin Dressler) [2002.03.11 01:51]: > > > > I find that we call fgReshape function in each > > > > RenderFrame, and it is > > > > > > IMHO needless. When you remove fgReshape from fgRenderFrame all > > > > resizing works, you only can't change resolution via > > > > property manager. > > > > > > But do we need it? > > > > Do you have some objection, before I send a patch. > > > > > > I can't really answer you question, but it was added to main.cxx in > > > revision 1.40 with a comment about external views. When you take it > > > out, does it break the external views? > > > > No :-) > > > > As I sad, you only can't change resolution via window > > property manager. > > But do we need it? > > Does changing resolution equate to changing the window size? If so, > could we trap a window resize and call fgReshape only in that case? > > Richard > Yes, you are right. It is done automagicaly by glut. when you register fgReshape as reshape function.
Madr _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
