diff options
author | Ian Romanick <[email protected]> | 2015-11-02 12:40:32 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2015-11-24 11:50:28 -0800 |
commit | f727742cdb366f4bf01c46e6648ef00a32ceca4d (patch) | |
tree | 1e0993e539272f309af97717c85ae5fe1f270d52 /src/mesa/main/varray.h | |
parent | d76bdaaf2d97775028b93f3b86ac7414cf9ca2da (diff) |
mesa: Make bind_vertex_buffer avilable outside varray.c
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Abdiel Janulgue <[email protected]>
Reviewed-by: Anuj Phogat <[email protected]>
(cherry picked from commit 8fae494df2813bfa38f1aabd6c9b3c1ba3a5e4ef)
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 5583ed5a1d1..1579b7688c0 100644 --- a/src/mesa/main/varray.h +++ b/src/mesa/main/varray.h @@ -90,6 +90,13 @@ _mesa_attr_zero_aliases_vertex(struct gl_context *ctx) && !is_forward_compatible_context)); } +extern void +_mesa_bind_vertex_buffer(struct gl_context *ctx, + struct gl_vertex_array_object *vao, + GLuint index, + struct gl_buffer_object *vbo, + GLintptr offset, GLsizei stride); + extern void GLAPIENTRY _mesa_VertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr); |