mesa: Filter glBindTexture targets based on supported features.
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 27 Jul 2012 00:41:43 +0000 (17:41 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 23 Aug 2012 17:15:30 +0000 (10:15 -0700)
commit3f7c8364cf1d763f04413aecfac66df5534aeb34
tree56181277ffd58a8e81725faa4a597f3f434e6fc7
parent530c9d764b84035728a28ee2db996fffe49125ce
mesa: Filter glBindTexture targets based on supported features.

Fixed the piglit test arb_texture_buffer_object-negative-unsupported.

NOTE: This is a candidate for stable release branches.

v2: Add proper core-profile and GLES3 filtering.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/main/texobj.c