summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-09-27 21:28:22 +0200
committerMarek Olšák <[email protected]>2015-10-03 22:06:08 +0200
commit82a950f18799d2ec6793892f469234b87e28bf02 (patch)
tree867d433f286980492ea12146283765323c6d5758 /src
parentd1269a844f4d4b498c0b6c886e6273a7da93582e (diff)
mesa: remove Driver.BindArrayObject
Nothing sets it. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/common/driverfuncs.c6
-rw-r--r--src/mesa/main/arrayobj.c4
-rw-r--r--src/mesa/main/dd.h8
3 files changed, 0 insertions, 18 deletions
diff --git a/src/mesa/drivers/common/driverfuncs.c b/src/mesa/drivers/common/driverfuncs.c
index 84d74dfda8a..da70dfdc0f4 100644
--- a/src/mesa/drivers/common/driverfuncs.c
+++ b/src/mesa/drivers/common/driverfuncs.c
@@ -176,14 +176,8 @@ _mesa_init_driver_functions(struct dd_function_table *driver)
driver->DiscardFramebuffer = NULL;
_mesa_init_texture_barrier_functions(driver);
-
- /* APPLE_vertex_array_object */
- driver->BindArrayObject = NULL;
-
_mesa_init_shader_object_functions(driver);
-
_mesa_init_transform_feedback_functions(driver);
-
_mesa_init_sampler_object_functions(driver);
/* T&L stuff */
diff --git a/src/mesa/main/arrayobj.c b/src/mesa/main/arrayobj.c
index f7272214000..061e557a397 100644
--- a/src/mesa/main/arrayobj.c
+++ b/src/mesa/main/arrayobj.c
@@ -443,10 +443,6 @@ bind_vertex_array(struct gl_context *ctx, GLuint id, GLboolean genRequired)
ctx->NewState |= _NEW_ARRAY;
_mesa_reference_vao(ctx, &ctx->Array.VAO, newObj);
-
- /* Pass BindVertexArray call to device driver */
- if (ctx->Driver.BindArrayObject && newObj)
- ctx->Driver.BindArrayObject(ctx, newObj);
}
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index bbd26dee374..9c6462f87b6 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -747,14 +747,6 @@ struct dd_function_table {
GLint *bytesWritten);
/*@}*/
-
- /**
- * \name Vertex Array objects
- */
- /*@{*/
- void (*BindArrayObject)(struct gl_context *ctx, struct gl_vertex_array_object *);
- /*@}*/
-
/**
* \name GLSL-related functions (ARB extensions and OpenGL 2.x)
*/