From 2da5afbd3ffd50409fc729e166fe5133c7a7e7a8 Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 10 Jan 2008 15:13:14 -0700 Subject: [PATCH] Cell: call draw_compute_vertex_size() --- src/mesa/pipe/cell/ppu/cell_state_derived.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesa/pipe/cell/ppu/cell_state_derived.c b/src/mesa/pipe/cell/ppu/cell_state_derived.c index ee7c0204b8b..ec3a8f3a811 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, -- 2.30.2