st/mesa: only enable GL_EXT_framebuffer_multisample if GL_MAX_SAMPLES >= 2
authorBrian Paul <brianp@vmware.com>
Mon, 28 Jan 2013 18:32:13 +0000 (11:32 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 29 Jan 2013 15:59:53 +0000 (08:59 -0700)
commitc80bacba2ed88bccc92ab7a7151e14ad32729249
treef8a0c1957d6a503deb96a588297bbbd7f821e7ac
parent8f3c81d0182b10d99976dd0a80f10eebebf54017
st/mesa: only enable GL_EXT_framebuffer_multisample if GL_MAX_SAMPLES >= 2

We never really have multisampling with one sample per pixel.
See also http://bugs.freedesktop.org/show_bug.cgi?id=59873

Note: This is a candidate for the 9.0 branch.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/state_tracker/st_extensions.c