mesa: Allow query of MAX_SAMPLES with EXT_framebuffer_multisample
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 10 Nov 2010 00:35:54 +0000 (16:35 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 11 Nov 2010 00:00:03 +0000 (16:00 -0800)
commitbcef51c3b891dcdb97fd9fce0f2b76f161b59af5
tree9a90914fc9ef100e3d40c233751a7c2b4b42d15f
parent0faa7ada8419408070874d83dc2fcbad903f0dcc
mesa: Allow query of MAX_SAMPLES with EXT_framebuffer_multisample

Previously queries of MAX_SAMPLES were only allowed with
ARB_framebuffer_object, but EXT_framebuffer_multisample also enables
this query.  This seems to only effect the i915.  All other drivers
support both extensions or neither extension.

This patch is based on a patch that Kenneth sent along with the report.

NOTE: this is a candidate for the 7.9 branch.

Reported-by: Kenneth Waters <kwaters@chromium.org>
src/mesa/main/get.c