summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_setup.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-06-03 19:53:53 -0600
committerBrian Paul <brianp@vmware.com>2009-06-03 19:53:53 -0600
commit091fcf3a27b2588640e543342e681cad85fec615 (patch)
treedd0d6b0ddc660fa47bd0fcb0ad2c18484a939574 /src/gallium/drivers/softpipe/sp_setup.c
parentab6508e3993afa35de1472fe8a847427c1749efe (diff)
Revert "softpipe: fix flat shading provoking vertex for PIPE_PRIM_POLYGON"
This reverts commit 5d75124db480b37977c353511b4e228905b7cc95.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_setup.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_setup.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/drivers/softpipe/sp_setup.c b/src/gallium/drivers/softpipe/sp_setup.c
index 4f0baa3fd4..c6844a2649 100644
--- a/src/gallium/drivers/softpipe/sp_setup.c
+++ b/src/gallium/drivers/softpipe/sp_setup.c
@@ -514,10 +514,7 @@ static boolean setup_sort_vertices( struct setup_context *setup,
const float (*v1)[4],
const float (*v2)[4] )
{
- if (setup->softpipe->api_prim == PIPE_PRIM_POLYGON)
- setup->vprovoke = v0;
- else
- setup->vprovoke = v2;
+ setup->vprovoke = v2;
/* determine bottom to top order of vertices */
{