summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-01-16 10:56:38 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-01-16 10:56:38 -0700
commit1b5f20c665d1174a52f5d1ec96b23a343ce0ac09 (patch)
tree033ca567fd2615647aefa38bdf0f518e1114e67c /src
parent85cfe029b958c1954aefe0279eb2388bb272ec5c (diff)
remove useless assertions
Diffstat (limited to 'src')
-rw-r--r--src/mesa/pipe/draw/draw_twoside.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/pipe/draw/draw_twoside.c b/src/mesa/pipe/draw/draw_twoside.c
index 00b4ee45cd..c7e268f11e 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);
}