[Mesa-dev] [PATCH 1/3] vbo: make vbo_bind_arrays() static

Brian Paul brianp at vmware.com
Mon Aug 21 18:56:27 UTC 2017


---
 src/mesa/vbo/vbo.h            | 2 --
 src/mesa/vbo/vbo_exec_array.c | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/mesa/vbo/vbo.h b/src/mesa/vbo/vbo.h
index c8e87d3..ffbb201 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 92f0472..ee24826 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);
-- 
1.9.1



More information about the mesa-dev mailing list