pioneerspacesim/pioneer — pull request #877 by johnbartholomew (2011-12-30 01:36:06+00:00)
Title: extend video mode setup to try without multisampling if initial setup fails

My low end laptop doesn't actually support any multisampling video modes, so first-time startup fails (GameConfig.cpp defaults to 2x multisampling).

This tries four modes:

1. requested
2. requested without AA
3. requested (with AA) with a 16-bit depth buffer
4. requested with a 16-bit depth buffer and without AA

If the config file is not requesting AA then 1. and 3. are skipped (since they become equivalent to 2. and 4.)

If none of them succeed then it calls abort().