projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ebd2fa
)
llvmpipe: fix front/back tri culling mix-up
author
Brian Paul
<brianp@vmware.com>
Mon, 17 May 2010 17:43:43 +0000
(11:43 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 17 May 2010 17:43:43 +0000
(11:43 -0600)
src/gallium/drivers/llvmpipe/lp_setup_tri.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_setup_tri.c
b/src/gallium/drivers/llvmpipe/lp_setup_tri.c
index fbbfa3275f36b84581c4db4689f95f61f40b1f20..306cb6e27d2895dcb8a667ae332a4441549fbd54 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_setup_tri.c
+++ b/
src/gallium/drivers/llvmpipe/lp_setup_tri.c
@@
-674,10
+674,10
@@
lp_setup_choose_triangle( struct lp_setup_context *setup )
case PIPE_FACE_NONE:
setup->triangle = triangle_both;
break;
- case PIPE_FACE_
FRONT
:
+ case PIPE_FACE_
BACK
:
setup->triangle = setup->ccw_is_frontface ? triangle_ccw : triangle_cw;
break;
- case PIPE_FACE_
BACK
:
+ case PIPE_FACE_
FRONT
:
setup->triangle = setup->ccw_is_frontface ? triangle_cw : triangle_ccw;
break;
default: