softpipe: don't need to trim prims

This commit is contained in:
Keith Whitwell 2008-04-19 00:43:58 +01:00
parent 1b411f8943
commit c717f1fbe2

View file

@ -118,17 +118,6 @@ softpipe_draw_elements(struct pipe_context *pipe,
struct draw_context *draw = sp->draw;
unsigned i;
/* first, check that the primitive is not malformed. It is the
* state tracker's responsibility to do send only correctly formed
* primitives down. It currently isn't doing that though...
*/
#if 1
count = draw_trim_prim( mode, count );
#else
if (!draw_validate_prim( mode, count ))
assert(0);
#endif
sp->reduced_api_prim = reduced_prim[mode];
if (sp->dirty)