mesa: Don't allow GL_TEXTURE_BORDER queries outside compat profile
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 17 Jun 2014 00:17:43 +0000 (17:17 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 15 Jul 2014 17:46:33 +0000 (10:46 -0700)
commit750286600b871ee5506e2589719f58bda215a605
tree825c548d31e1e61c66e30fba4d1584c5ddf2cd06
parentee58c71a65bb5b769a03e4b25bd13c57a6b742d8
mesa: Don't allow GL_TEXTURE_BORDER queries outside compat profile

There are no texture borders in any version of OpenGL ES or desktop
OpenGL core profile.

Fixes piglit's gl-3.2-texture-border-deprecated.

v2: Rebase on different initial change.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Cc: "10.2 <mesa-stable@lists.freedesktop.org>
src/mesa/main/texparam.c