From 740e50c60f03d194aafab93d5251699964800979 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 5 May 2010 14:00:58 -0600 Subject: gallium: rename draw() to draw_elements() in vbuf code Now we have draw_elements() and draw_arrays() to be consistent with the pipe_context drawing functions. --- src/gallium/auxiliary/draw/draw_pipe_vbuf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gallium/auxiliary/draw/draw_pipe_vbuf.c') diff --git a/src/gallium/auxiliary/draw/draw_pipe_vbuf.c b/src/gallium/auxiliary/draw/draw_pipe_vbuf.c index 1fd083e54d..3c93c9014a 100644 --- a/src/gallium/auxiliary/draw/draw_pipe_vbuf.c +++ b/src/gallium/auxiliary/draw/draw_pipe_vbuf.c @@ -324,9 +324,9 @@ vbuf_flush_vertices( struct vbuf_stage *vbuf ) if (vbuf->nr_indices) { - vbuf->render->draw(vbuf->render, - vbuf->indices, - vbuf->nr_indices ); + vbuf->render->draw_elements(vbuf->render, + vbuf->indices, + vbuf->nr_indices ); vbuf->nr_indices = 0; } -- cgit v1.2.3