1
0
Fork 0

Allows multi samples > 1

This commit is contained in:
fredb 2009-05-08 16:45:49 +00:00 committed by Tim Moore
parent 745277ec4a
commit 7d1440adb8

View file

@ -73,7 +73,7 @@ WindowBuilder::makeDefaultTraits(bool stencil)
traits->windowName = "FlightGear";
// XXX should check per window too.
traits->sampleBuffers = fgGetBool("/sim/rendering/multi-sample-buffers", traits->sampleBuffers);
traits->samples = fgGetBool("/sim/rendering/multi-samples", traits->samples);
traits->samples = fgGetInt("/sim/rendering/multi-samples", traits->samples);
traits->vsync = fgGetBool("/sim/rendering/vsync-enable", traits->vsync);
if (fullscreen) {
unsigned width = 0;