set I915_NEW_VERTEX_FORMAT in calculate_vertex_layout(), fixes demos/texenv

This commit is contained in:
Brian 2007-08-24 18:06:11 -06:00
parent 59e7bfa1de
commit b7de64c46c

View file

@ -161,6 +161,12 @@ static void calculate_vertex_layout( struct i915_context *i915 )
draw_set_vertex_attributes( i915->draw,
vinfo->slot_to_attrib,
vinfo->num_attribs);
/* Need to set this flag so that the LIS2/4 registers get set.
* It also means the i915_update_immediate() function must be called
* after this one, in i915_update_derived().
*/
i915->dirty |= I915_NEW_VERTEX_FORMAT;
}