summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/cell/ppu/cell_draw_arrays.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-05-21 09:47:00 -0600
committerBrian Paul <brianp@vmware.com>2010-05-21 09:47:00 -0600
commit2c6882f8c1320a5e62fd0c7edeea588712ff6dda (patch)
treefa269046d23b0358940bfa0036490f8a98d4ea60 /src/gallium/drivers/cell/ppu/cell_draw_arrays.c
parent6e0efad38b25cb6a143f25ef0a1a86c464f4faef (diff)
cell: assorted compilation fixes
Diffstat (limited to 'src/gallium/drivers/cell/ppu/cell_draw_arrays.c')
-rw-r--r--src/gallium/drivers/cell/ppu/cell_draw_arrays.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_draw_arrays.c b/src/gallium/drivers/cell/ppu/cell_draw_arrays.c
index b50a30bee8..6a1e4d8a64 100644
--- a/src/gallium/drivers/cell/ppu/cell_draw_arrays.c
+++ b/src/gallium/drivers/cell/ppu/cell_draw_arrays.c
@@ -103,7 +103,7 @@ cell_draw_range_elements(struct pipe_context *pipe,
draw_set_mapped_vertex_buffer(draw, i, NULL);
}
if (indexBuffer) {
- draw_set_mapped_element_buffer(draw, 0, NULL);
+ draw_set_mapped_element_buffer(draw, 0, 0, NULL);
}
/*
@@ -122,7 +122,7 @@ cell_draw_elements(struct pipe_context *pipe,
unsigned mode, unsigned start, unsigned count)
{
cell_draw_range_elements( pipe, indexBuffer,
- indexSize, indeBias,
+ indexSize, indexBias,
0, 0xffffffff,
mode, start, count );
}