[Flightgear-devel] Re: [Flightgear-cvslogs] CVS: FlightGear/src/Main fg_os_sdl.cxx, 1.11, 1.12

2005-04-06 Thread James Turner
On 6 Apr 2005, at 09:46, Erik Hofman wrote: Modified Files: fg_os_sdl.cxx Log Message: Melchior FRANZ: Make SDL window resizable; This exposes the same problem that many GLUT users have: resizing up may cause a temporary switch to software rendering if the card is low on memory. Resizing

[Flightgear-devel] Re: [Flightgear-cvslogs] CVS: FlightGear/src/Main fg_os_sdl.cxx, 1.11, 1.12

2005-04-06 Thread Melchior FRANZ
* James Turner -- Wednesday 06 April 2005 11:37: Bad news - I've had this change in my tree for a few months now, and it doesn't work right on OS-X So then add a #ifdef for OS-X around the resize event, so that it is simply ignored? Did you send a bug report to the SDL people? #ifdef OSX //

[Flightgear-devel] Re: [Flightgear-cvslogs] CVS: FlightGear/src/Main fg_os_sdl.cxx, 1.11, 1.12

2005-04-06 Thread Melchior FRANZ
* Melchior FRANZ -- Wednesday 06 April 2005 12:14: Did you send a bug report to the SDL people? Or the plib people? Anyway, we allow glut windows to be resized, and I wouldn't understand if we wouldn't allow it for SDL on all systems, just because of broken OSX or broken OSX support in plib. m.

Re: [Flightgear-devel] Re: [Flightgear-cvslogs] CVS: FlightGear/src/Main fg_os_sdl.cxx, 1.11, 1.12

2005-04-06 Thread James Turner
On 6 Apr 2005, at 11:14, Melchior FRANZ wrote: So then add a #ifdef for OS-X around the resize event, so that it is simply ignored? Did you send a bug report to the SDL people? I think you misunderstand, it's not an SDL bug: *FlightGear is relying on assumption about how OpenGL implementations

[Flightgear-devel] Re: [Flightgear-cvslogs] CVS: FlightGear/src/Main fg_os_sdl.cxx, 1.11, 1.12

2005-04-06 Thread Melchior FRANZ
* James Turner -- Wednesday 06 April 2005 12:28: Of course, we can certainly live without the feature on Mac - just be aware the fault lies with FG / PLIB for not providing an API that is somewhat important in real-world situations. I for one would love to be able to switch from full-screen

Re: [Flightgear-devel] Re: [Flightgear-cvslogs] CVS: FlightGear/src/Main fg_os_sdl.cxx, 1.11, 1.12

2005-04-06 Thread James Turner
On 6 Apr 2005, at 12:53, Melchior FRANZ wrote: Err ... or is it SDL_SetVideoMode() in SDL's video/SDL_video.c? There's a suspicious comment in there: * WARNING, we need to make sure that the previous mode hasn't * already been freed by the video driver. What do we do in *

[Flightgear-devel] Re: [Flightgear-cvslogs] CVS: FlightGear/src/Main fg_os_sdl.cxx, 1.11, 1.12

2005-04-06 Thread Melchior FRANZ
* James Turner -- Wednesday 06 April 2005 14:17: - Making PLIB / FG support vid restarts would be a very good thing to do, but would be a lot of work and invasive. I would be happy to give it a go if I thought the patches would be accepted! Sigh ... that's not so sure. - We can live with

[Flightgear-devel] Re: [Flightgear-cvslogs] CVS: FlightGear/src/Main fg_os_sdl.cxx, 1.11, 1.12

2005-04-06 Thread Melchior FRANZ
* Melchior FRANZ -- Wednesday 06 April 2005 13:19: So it's the glViewport() in FGRenderer::resize() that doesn't work with plib/fgfs on OSX? Err ... or is it SDL_SetVideoMode() in SDL's video/SDL_video.c? There's a suspicious comment in there: * WARNING, we need to make sure that the