mesa/es3.1 : Align OpenGL ES 3.1 glBindVertexBuffer error handling with OpenGL Core
authorMarta Lofstedt <marta.lofstedt@intel.com>
Wed, 19 Aug 2015 18:25:22 +0000 (20:25 +0200)
committerMarta Lofstedt <marta.lofstedt@linux.intel.com>
Tue, 22 Sep 2015 10:21:59 +0000 (12:21 +0200)
commit6c3de8996fbe9447e092cc75ccdd6f720fabaf4d
treef126a5536b1573b28bcec8edebda493c89367e2a
parent7f8815bcb9af9b4b374ad7bd6e7cfa7529a6c980
mesa/es3.1 : Align OpenGL ES 3.1 glBindVertexBuffer error handling with OpenGL Core

According to OpenGL ES 3.1 specification 10.3.1:
"An INVALID_OPERATION error is generated if buffer is not zero
or a name returned from a previous call to GenBuffers,
or if such a name has since been deleted with DeleteBuffers."
This error check was previously limited to OpenGL Core.

Signed-off-by: Marta Lofstedt <marta.lofstedt@intel.com>
src/mesa/main/bufferobj.c