summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/draw/draw_prim.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/draw/draw_prim.c')
-rw-r--r--src/mesa/pipe/draw/draw_prim.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mesa/pipe/draw/draw_prim.c b/src/mesa/pipe/draw/draw_prim.c
index fb8bc0f36da..fbd0672875f 100644
--- a/src/mesa/pipe/draw/draw_prim.c
+++ b/src/mesa/pipe/draw/draw_prim.c
@@ -434,8 +434,8 @@ draw_set_prim( struct draw_context *draw, unsigned prim )
* \param elements the element buffer ptr
*/
void
-draw_set_element_buffer( struct draw_context *draw,
- unsigned eltSize, void *elements )
+draw_set_mapped_element_buffer( struct draw_context *draw,
+ unsigned eltSize, void *elements )
{
/* choose the get_vertex() function to use */
switch (eltSize) {
@@ -456,10 +456,9 @@ draw_set_element_buffer( struct draw_context *draw,
}
draw->elts = elements;
draw->eltSize = eltSize;
-
-
}
+
unsigned
draw_prim_info(unsigned prim, unsigned *first, unsigned *incr)
{