Hi,

I have more or less the same config as Sid
(amd64, fedora core 4, gcc-4.0.1, freeglut-2.4.0),
and came across another issue.

In order to
--enable-game-mode
with a nice resolution
(using --geometry=1280x1048)
I had to modify fg_os.cxx as follows

Index: fg_os.cxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/source/src/Main/fg_os.cxx,v
retrieving revision 1.11
diff -r1.11 fg_os.cxx
202c202
<         sprintf(game_mode_str, "width=%d height=%d bpp=%d", w, h, bpp);
---
>         sprintf(game_mode_str, "%dx%d:%d", w, h, bpp);


else I would have the default definition of 800x600  (or maybe 640x480)
with warning message ressembling something like:
freeglut: could not parse string "width=1280 height=1024 bpp=24"

Is this the correct solution,
or am I missing something?

Thanks,
Sylvain.

_______________________________________________
Flightgear-users mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to