summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/pipe/cell/ppu/cell_state_derived.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/pipe/cell/ppu/cell_state_derived.c b/src/mesa/pipe/cell/ppu/cell_state_derived.c
index ee7c0204b8..ec3a8f3a81 100644
--- a/src/mesa/pipe/cell/ppu/cell_state_derived.c
+++ b/src/mesa/pipe/cell/ppu/cell_state_derived.c
@@ -159,7 +159,8 @@ static void calculate_vertex_layout( struct cell_context *cell )
if (1/*vinfo->attr_mask != cell->attr_mask*/) {
/*cell->attr_mask = vinfo->attr_mask;*/
- draw_set_vertex_info( cell->draw, vinfo);
+ draw_compute_vertex_size(vinfo);
+ draw_set_vertex_info(cell->draw, vinfo);
#if 0
draw_set_twoside_attributes(cell->draw,