projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b08102a
)
gallium: changes to polygon mode weren't detected in draw_unfilled stage.
author
Brian
<brian.paul@tungstengraphics.com>
Thu, 14 Feb 2008 21:15:52 +0000
(14:15 -0700)
committer
Brian
<brian.paul@tungstengraphics.com>
Fri, 15 Feb 2008 01:59:24 +0000
(18:59 -0700)
Need to reset stage->tri = unfilled_first_try in unfilled_flush() so that the
front/back state is picked up.
src/mesa/pipe/draw/draw_unfilled.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/draw/draw_unfilled.c
b/src/mesa/pipe/draw/draw_unfilled.c
index 8bb9f3b5586b7bac9bf21219bed6872d490de8ad..8777cfdfc861b39ab00c2098faa93787e403d26a 100644
(file)
--- a/
src/mesa/pipe/draw/draw_unfilled.c
+++ b/
src/mesa/pipe/draw/draw_unfilled.c
@@
-165,6
+165,8
@@
static void unfilled_flush( struct draw_stage *stage,
unsigned flags )
{
stage->next->flush( stage->next, flags );
+
+ stage->tri = unfilled_first_tri;
}