From b4ae8ee43ecc19f0aa46c0f026c561bbccd9f374 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Thu, 20 May 2021 17:14:15 -0400 Subject: [PATCH] mesa: Remove unused _vbo_current_binding MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Dave Airlie Reviewed-by: Marek Olšák Part-of: --- src/mesa/vbo/vbo.h | 5 ----- src/mesa/vbo/vbo_context.c | 8 -------- 2 files changed, 13 deletions(-) diff --git a/src/mesa/vbo/vbo.h b/src/mesa/vbo/vbo.h index ce4364e4a20..c01ff41030e 100644 --- a/src/mesa/vbo/vbo.h +++ b/src/mesa/vbo/vbo.h @@ -244,11 +244,6 @@ vbo_get_minmax_indices_gallium(struct gl_context *ctx, const struct gl_array_attributes* _vbo_current_attrib(const struct gl_context *ctx, gl_vert_attrib attr); - -const struct gl_vertex_buffer_binding* -_vbo_current_binding(const struct gl_context *ctx); - - void GLAPIENTRY _es_Color4f(GLfloat r, GLfloat g, GLfloat b, GLfloat a); diff --git a/src/mesa/vbo/vbo_context.c b/src/mesa/vbo/vbo_context.c index fcbb22bea43..9930894d9db 100644 --- a/src/mesa/vbo/vbo_context.c +++ b/src/mesa/vbo/vbo_context.c @@ -218,11 +218,3 @@ _vbo_current_attrib(const struct gl_context *ctx, gl_vert_attrib attr) const gl_vertex_processing_mode vmp = ctx->VertexProgram._VPMode; return &vbo->current[_vbo_attribute_alias_map[vmp][attr]]; } - - -const struct gl_vertex_buffer_binding * -_vbo_current_binding(const struct gl_context *ctx) -{ - const struct vbo_context *vbo = vbo_context_const(ctx); - return &vbo->binding; -}