diff options
author | Marek Olšák <[email protected]> | 2014-01-27 12:57:28 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-02-25 16:04:21 +0100 |
commit | aea4933287d6deff2ef1729febb5bfabdc88c21e (patch) | |
tree | 0a299f45b18159015694664c7a554c7b4f8aef54 /src | |
parent | 882070cc81588a133d81e3ef8790d7375f494eff (diff) |
mesa: remove unused driver hook BindBuffer
Reviewed-by: Fredrik Höglund <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/bufferobj.c | 5 | ||||
-rw-r--r-- | src/mesa/main/dd.h | 3 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c index d22e2c47d81..491b6501ed5 100644 --- a/src/mesa/main/bufferobj.c +++ b/src/mesa/main/bufferobj.c @@ -954,10 +954,6 @@ bind_buffer_object(struct gl_context *ctx, GLenum target, GLuint buffer) /* bind new buffer */ _mesa_reference_buffer_object(ctx, bindTarget, newBufObj); - - /* Pass BindBuffer call to device driver */ - if (ctx->Driver.BindBuffer) - ctx->Driver.BindBuffer( ctx, target, newBufObj ); } @@ -1022,7 +1018,6 @@ _mesa_init_buffer_object_functions(struct dd_function_table *driver) /* GL_ARB_vertex/pixel_buffer_object */ driver->NewBufferObject = _mesa_new_buffer_object; driver->DeleteBuffer = _mesa_delete_buffer_object; - driver->BindBuffer = NULL; driver->BufferData = _mesa_buffer_data; driver->BufferSubData = _mesa_buffer_subdata; driver->GetBufferSubData = _mesa_buffer_get_subdata; diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index ccd44948860..b444b4cf504 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -571,9 +571,6 @@ struct dd_function_table { * \name Vertex/pixel buffer object functions */ /*@{*/ - void (*BindBuffer)( struct gl_context *ctx, GLenum target, - struct gl_buffer_object *obj ); - struct gl_buffer_object * (*NewBufferObject)(struct gl_context *ctx, GLuint buffer, GLenum target); |