mesa: Move sanity check of BindVertexBuffer for OpenGL ES 3.1
authorMarta Lofstedt <marta.lofstedt@intel.com>
Fri, 8 Jan 2016 13:55:55 +0000 (14:55 +0100)
committerMarta Lofstedt <marta.lofstedt@linux.intel.com>
Tue, 19 Jan 2016 12:08:42 +0000 (13:08 +0100)
commit2bcacc69b9935f073e271527771b4fb42081dcb6
tree92b61190ce1f63add318ac4b8cf1c69db431dfb3
parentd018619d7f52b9a72d7c010d4afb70653d674f12
mesa: Move sanity check of BindVertexBuffer for OpenGL ES 3.1

Sanity check of BindVertexBuffer for OpenGL ES in
_mesa_handle_bind_buffer_gen breaks OpenGL ES 2 conformance.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93426
Signed-off-by: Marta Lofstedt <marta.lofstedt@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/mesa/main/bufferobj.c
src/mesa/main/varray.c