summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_pt_emit.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-05-05 14:00:58 -0600
committerBrian Paul <brianp@vmware.com>2010-05-05 18:19:37 -0600
commit740e50c60f03d194aafab93d5251699964800979 (patch)
tree102a978a79b064f077b6dea20b026f53ffa9786a /src/gallium/auxiliary/draw/draw_pt_emit.c
parent246d39059e21bdc840128d448bcd79a957bbd1d1 (diff)
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.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt_emit.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt_emit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_emit.c b/src/gallium/auxiliary/draw/draw_pt_emit.c
index ad48fa39a4..f623c0743d 100644
--- a/src/gallium/auxiliary/draw/draw_pt_emit.c
+++ b/src/gallium/auxiliary/draw/draw_pt_emit.c
@@ -190,9 +190,9 @@ void draw_pt_emit( struct pt_emit *emit,
0,
vertex_count - 1 );
- render->draw(render,
- elts,
- count);
+ render->draw_elements(render,
+ elts,
+ count);
render->release_vertices(render);
}