// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "WindowBuilder.hxx"
#include "WindowSystemAdapter.hxx"
traits->mipMapGeneration = true;
traits->windowName = "FlightGear";
// XXX should check per window too.
- traits->sampleBuffers = fgGetBool("/sim/rendering/multi-sample-buffers", traits->sampleBuffers);
+ traits->sampleBuffers = fgGetInt("/sim/rendering/multi-sample-buffers", traits->sampleBuffers);
traits->samples = fgGetInt("/sim/rendering/multi-samples", traits->samples);
traits->vsync = fgGetBool("/sim/rendering/vsync-enable", traits->vsync);
traits->windowDecoration = !fgGetBool("/sim/startup/fullscreen");