summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/varray.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2015-11-02 12:40:32 -0800
committerIan Romanick <[email protected]>2015-11-24 11:50:28 -0800
commitf727742cdb366f4bf01c46e6648ef00a32ceca4d (patch)
tree1e0993e539272f309af97717c85ae5fe1f270d52 /src/mesa/main/varray.h
parentd76bdaaf2d97775028b93f3b86ac7414cf9ca2da (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.h7
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);