mesa: Generate GL_INVALID_OPERATION when drawing w/o a VAO in core profile
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 11 Nov 2014 10:53:37 +0000 (10:53 +0000)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 2 Dec 2014 20:16:28 +0000 (12:16 -0800)
commitb93dcb0e718a0a177370f2c7851223350d3b7bc7
tree4f15e5b7161f46f3484a18b0a133c08ea76490ec
parent4e6244e80f7dd6dad526ff04f5103ed24d61d38a
mesa: Generate GL_INVALID_OPERATION when drawing w/o a VAO in core profile

GL 3-ish versions of the spec are less clear that an error should be
generated here, so Ken (and I during review) just missed it in 1afe335.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/api_validate.c