From: Brian Date: Wed, 16 Jan 2008 17:56:38 +0000 (-0700) Subject: remove useless assertions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1b5f20c665d1174a52f5d1ec96b23a343ce0ac09;p=mesa.git remove useless assertions --- diff --git a/src/mesa/pipe/draw/draw_twoside.c b/src/mesa/pipe/draw/draw_twoside.c index 00b4ee45cdc..c7e268f11ed 100644 --- a/src/mesa/pipe/draw/draw_twoside.c +++ b/src/mesa/pipe/draw/draw_twoside.c @@ -79,11 +79,9 @@ static struct vertex_header *copy_bfc( struct twoside_stage *twoside, const struct draw_context *draw = twoside->stage.draw; if (draw->attrib_front0 && draw->attrib_back0) { - assert(draw->attrib_back0); copy_attrib(draw->attrib_front0, draw->attrib_back0, tmp); } if (draw->attrib_front1 && draw->attrib_back1) { - assert(draw->attrib_back1); copy_attrib(draw->attrib_front1, draw->attrib_back1, tmp); }