]> git.mxchange.org Git - flightgear.git/commitdiff
Default to 32-bit color buffers.
authorJames Turner <zakalawe@mac.com>
Sun, 27 Oct 2013 13:02:54 +0000 (13:02 +0000)
committerJames Turner <zakalawe@mac.com>
Sun, 27 Oct 2013 13:03:01 +0000 (13:03 +0000)
Requesting 16-bit is probably doing more harm than good on modern
hardware. Command line switch to change works as before.

Also update the default window size, although this is actually
set by preferences.xml

src/Main/options.cxx

index 9914e9e5ae61bfba0854434a68b1f3979c966fd0..036d3146a712b841b321690404d5cf22abb35658 100644 (file)
@@ -198,9 +198,9 @@ fgSetDefaults ()
     fgSetBool("/sim/rendering/distance-attenuation", false);
     fgSetBool("/sim/rendering/specular-highlight", true);
     fgSetString("/sim/rendering/materials-file", "materials.xml");
-    fgSetInt("/sim/startup/xsize", 800);
-    fgSetInt("/sim/startup/ysize", 600);
-    fgSetInt("/sim/rendering/bits-per-pixel", 16);
+    fgSetInt("/sim/startup/xsize", 1024);
+    fgSetInt("/sim/startup/ysize", 768);
+    fgSetInt("/sim/rendering/bits-per-pixel", 32);
     fgSetString("/sim/view-mode", "pilot");
     fgSetDouble("/sim/current-view/heading-offset-deg", 0);