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 c8e87d32a57e41d8ea24a45fec06e14d7bbe4979..ffbb2018b153dcb44d41f851c517fd48e7cd82f5 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 0617d65935d592782f26e39ea6df3b774f5b33e3..edd55ce69e2a419a8dc9edd6026a5e131bcafd26 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);