summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/varray.h
diff options
context:
space:
mode:
authorMathias Fröhlich <[email protected]>2018-02-03 20:50:35 +0100
committerMathias Fröhlich <[email protected]>2018-02-23 05:33:58 +0100
commit354b76ad2070f23b91de14dd6bf4d14ff13e43fc (patch)
treea2e2964e5e373e3b9bad5194f96b3530dcdc85fb /src/mesa/main/varray.h
parent4331969ac44ce29c3dac810242ed2b9a4633999f (diff)
mesa: Make _mesa_vertex_attrib_binding public.
Change vertex_attrib_binding() to _mesa_vertex_attrib_binding(), add a flush_vertices argument, and make it publicly available. The function will be needed later in the series. Signed-off-by: Mathias Fröhlich <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/varray.h')
-rw-r--r--src/mesa/main/varray.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/varray.h b/src/mesa/main/varray.h
index 93ffb37a0d9..65853557714 100644
--- a/src/mesa/main/varray.h
+++ b/src/mesa/main/varray.h
@@ -121,6 +121,13 @@ _mesa_disable_vertex_array_attrib(struct gl_context *ctx,
extern void
+_mesa_vertex_attrib_binding(struct gl_context *ctx,
+ struct gl_vertex_array_object *vao,
+ gl_vert_attrib attribIndex,
+ GLuint bindingIndex, bool flush_vertices);
+
+
+extern void
_mesa_bind_vertex_buffer(struct gl_context *ctx,
struct gl_vertex_array_object *vao,
GLuint index,