vbo: make vbo_bind_arrays() static
authorBrian Paul <brianp@vmware.com>
Sat, 19 Aug 2017 03:17:14 +0000 (21:17 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 22 Aug 2017 01:04:51 +0000 (19:04 -0600)
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/vbo/vbo.h
src/mesa/vbo/vbo_exec_array.c

index c8e87d3..ffbb201 100644 (file)
@@ -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);
index 0617d65..edd55ce 100644 (file)
@@ -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);