projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85cfe02
)
remove useless assertions
author
Brian
<brian.paul@tungstengraphics.com>
Wed, 16 Jan 2008 17:56:38 +0000
(10:56 -0700)
committer
Brian
<brian.paul@tungstengraphics.com>
Wed, 16 Jan 2008 17:56:38 +0000
(10:56 -0700)
src/mesa/pipe/draw/draw_twoside.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/draw/draw_twoside.c
b/src/mesa/pipe/draw/draw_twoside.c
index 00b4ee45cdc18b7bfbd8e06ba54b8f5255db6e7c..c7e268f11edd13b56a18bae562f3842af36d38bc 100644
(file)
--- 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);
}