From: Brian Paul Date: Sat, 19 Aug 2017 03:17:14 +0000 (-0600) Subject: vbo: make vbo_bind_arrays() static X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1850256172587240b7a19ebf28b582ba0624dd29;p=mesa.git vbo: make vbo_bind_arrays() static Reviewed-by: Samuel Pitoiset Reviewed-by: Marek Olšák --- diff --git a/src/mesa/vbo/vbo.h b/src/mesa/vbo/vbo.h index c8e87d32a57..ffbb2018b15 100644 --- a/src/mesa/vbo/vbo.h +++ b/src/mesa/vbo/vbo.h @@ -196,8 +196,6 @@ void vbo_set_draw_func(struct gl_context *ctx, vbo_draw_func func); void vbo_set_indirect_draw_func(struct gl_context *ctx, vbo_indirect_draw_func func); -void vbo_bind_arrays(struct gl_context *ctx); - size_t vbo_count_tessellated_primitives(GLenum mode, GLuint count, GLuint num_instances); diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c index 0617d65935d..edd55ce69e2 100644 --- a/src/mesa/vbo/vbo_exec_array.c +++ b/src/mesa/vbo/vbo_exec_array.c @@ -421,7 +421,7 @@ recalculate_input_bindings(struct gl_context *ctx) * Note that this might set the _NEW_VARYING_VP_INPUTS dirty flag so state * validation must be done after this call. */ -void +static void vbo_bind_arrays(struct gl_context *ctx) { struct vbo_context *vbo = vbo_context(ctx);