From d0d86bf0b728f7b4136b784a10da525360a49509 Mon Sep 17 00:00:00 2001 From: ThorstenB Date: Sat, 3 Mar 2012 21:39:22 +0100 Subject: [PATCH] Fix type issue. multi-sample-buffers is int, not bool. --- src/Main/WindowBuilder.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main/WindowBuilder.cxx b/src/Main/WindowBuilder.cxx index cb19eb772..6ae1c067a 100644 --- a/src/Main/WindowBuilder.cxx +++ b/src/Main/WindowBuilder.cxx @@ -80,7 +80,7 @@ WindowBuilder::makeDefaultTraits(bool stencil) 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");