summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-01-10 15:13:14 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-01-10 15:13:14 -0700
commit2da5afbd3ffd50409fc729e166fe5133c7a7e7a8 (patch)
tree376b142ea32fbf2046fc6457f548954ccaca7414 /src/mesa
parentcd89fe2d390d2e8cdf7039c8405fd34d28419b5e (diff)
Cell: call draw_compute_vertex_size()
Diffstat (limited to 'src/mesa')
-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,