mesa: move GL_INVALID_OPERATION error to rendering call
authorTimothy Arceri <timothy.arceri@collabora.com>
Sun, 6 Dec 2015 04:30:34 +0000 (15:30 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Mon, 7 Dec 2015 10:41:09 +0000 (21:41 +1100)
commitad0262185420db03e8256ef20a0f5b1b1de003d8
tree41f1fb2da26517b81ab550a94ff2c95345d46406
parent4dd096d74178e66334089fb0ed01cbf2d6117fac
mesa: move GL_INVALID_OPERATION error to rendering call

The validation api doesn't trigger this error so just move it to the
code called during rendering.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Cc: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/context.c
src/mesa/main/pipelineobj.c
src/mesa/main/pipelineobj.h