mesa: Generate GL_INVALID_OPERATION for unsupported DSA TexStorage functions
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 18 Dec 2013 22:43:19 +0000 (14:43 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 21 Jan 2014 23:39:54 +0000 (15:39 -0800)
commit178c1bf1adef9e3871b1ec35da839fc04fe481cf
tree2f2b5f2eb23c3799a971e2c999ed34883a4bbc79
parent17594dccfd625556f866dcac322fc65ad81e37f3
mesa: Generate GL_INVALID_OPERATION for unsupported DSA TexStorage functions

We have to make the functions available to work around a GLEW bug (see
comments already in the code), but if an application calls one of these
functions we should still generate GL_INVALID_OPERATION.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/texstorage.c