summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/draw/draw_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/draw/draw_context.c')
-rw-r--r--src/mesa/pipe/draw/draw_context.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_context.c b/src/mesa/pipe/draw/draw_context.c
index 0707c03e5f7..f2ee6c52e07 100644
--- a/src/mesa/pipe/draw/draw_context.c
+++ b/src/mesa/pipe/draw/draw_context.c
@@ -192,3 +192,13 @@ void draw_set_viewport_state( struct draw_context *draw,
* Full pipe will have vertex shader, vertex fetch of its own.
*/
}
+
+
+void draw_set_vertex_array_info(struct draw_context *draw,
+ const struct pipe_vertex_buffer *buffers,
+ const struct pipe_vertex_element *elements)
+{
+ draw->vertex_buffer = buffers;
+ draw->vertex_element = elements;
+}
+