1
0
Fork 0

Fix type issue.

multi-sample-buffers is int, not bool.
This commit is contained in:
ThorstenB 2012-03-03 21:39:22 +01:00
parent 742f0eb939
commit d0d86bf0b7

View file

@ -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");