i965: Upload state on primitive switch, don't just prepare it.

This was a regression in 59b2c2adbb that broke
blender, among other apps.
This commit is contained in:
Eric Anholt 2008-11-12 13:37:16 -08:00
parent 2fc9d671e0
commit c30eb2c104

View file

@ -105,6 +105,7 @@ static GLuint brw_set_prim(struct brw_context *brw, GLenum prim)
}
brw_validate_state(brw);
brw_upload_state(brw);
}
return hw_prim[prim];