projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29cfec1
)
front/back determination was wrong
author
Brian
<brian.paul@tungstengraphics.com>
Tue, 16 Oct 2007 23:59:24 +0000
(17:59 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Tue, 16 Oct 2007 23:59:24 +0000
(17:59 -0600)
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 2d374329d83173daa489ba3e57ef558b1730915b..6cab086a45216047b415cbb65753410993d915a6 100644
(file)
--- a/
src/mesa/pipe/draw/draw_unfilled.c
+++ b/
src/mesa/pipe/draw/draw_unfilled.c
@@
-125,7
+125,7
@@
static void unfilled_tri( struct draw_stage *stage,
struct prim_header *header )
{
struct unfilled_stage *unfilled = unfilled_stage(stage);
- unsigned mode = unfilled->mode[header->det
<
0.0];
+ unsigned mode = unfilled->mode[header->det
>=
0.0];
switch (mode) {
case PIPE_POLYGON_MODE_FILL: