diff options
author | Mathias Fröhlich <[email protected]> | 2018-02-03 20:25:39 +0100 |
---|---|---|
committer | Mathias Fröhlich <[email protected]> | 2018-02-06 21:20:14 +0100 |
commit | e8a9473d32149ed0f8b9b188652a7ef951324f72 (patch) | |
tree | 97eac570b05d85744e75e90254b8a51879931a5b /src/mesa/main/varray.h | |
parent | 236657842b56e08055a4a9be8def8e440de78b58 (diff) |
mesa: Factor out _mesa_disable_vertex_array_attrib.
And use it in the enable code path.
Move _mesa_update_attribute_map_mode into its only remaining file.
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.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/varray.h b/src/mesa/main/varray.h index fe7eb816319..ddabd0bc585 100644 --- a/src/mesa/main/varray.h +++ b/src/mesa/main/varray.h @@ -106,6 +106,13 @@ _mesa_enable_vertex_array_attrib(struct gl_context *ctx, struct gl_vertex_array_object *vao, gl_vert_attrib attrib); + +extern void +_mesa_disable_vertex_array_attrib(struct gl_context *ctx, + struct gl_vertex_array_object *vao, + gl_vert_attrib attrib); + + extern void _mesa_bind_vertex_buffer(struct gl_context *ctx, struct gl_vertex_array_object *vao, |