Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixed pixel format selection #862
Currently, the format scoring is kind of.... broken. In certain configurations such as this one, where 8x MSAA is always coupled with a 24-bit depth buffer, the configuration would always get scored worse than 0x AA and 0-bit depth leading to AA being disabled unless depth is explicitly set to 24-bit as well.
This patch fixes the issue by giving more allowance to better configurations so that even though they don't match the requested settings exactly, a configuration that is "too good" can't get overshadowed by a configuration that simply matches the most fields.
@konstin Can you give this a test?