remove useless assertions
authorBrian <brian.paul@tungstengraphics.com>
Wed, 16 Jan 2008 17:56:38 +0000 (10:56 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Wed, 16 Jan 2008 17:56:38 +0000 (10:56 -0700)
src/mesa/pipe/draw/draw_twoside.c

index 00b4ee45cdc18b7bfbd8e06ba54b8f5255db6e7c..c7e268f11edd13b56a18bae562f3842af36d38bc 100644 (file)
@@ -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);
    }