diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-08-15 18:53:37 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-08-15 19:04:44 -0600 |
commit | 293cc252616543d36aeb8a432441006bf65e3330 (patch) | |
tree | a0cb965e6824cb7786c9b83715220962da481685 /src/mesa/pipe/draw/draw_context.c | |
parent | 24083f4e4702f4e9b8cc1679139d45ee771a0f16 (diff) |
added draw_set_vertex_array_info()
Diffstat (limited to 'src/mesa/pipe/draw/draw_context.c')
-rw-r--r-- | src/mesa/pipe/draw/draw_context.c | 10 |
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 0707c03e5f..f2ee6c52e0 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; +} + |