Cell: call draw_compute_vertex_size()
authorBrian <brian.paul@tungstengraphics.com>
Thu, 10 Jan 2008 22:13:14 +0000 (15:13 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 10 Jan 2008 22:13:14 +0000 (15:13 -0700)
src/mesa/pipe/cell/ppu/cell_state_derived.c

index ee7c0204b8bbf99ca142c881de5c409def93e67f..ec3a8f3a81103c565ad7a37574d2976d16c0d69a 100644 (file)
@@ -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,