summaryrefslogtreecommitdiff
path: root/src/mesa/softpipe/generic
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/softpipe/generic')
-rw-r--r--src/mesa/softpipe/generic/g_prim_setup.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/softpipe/generic/g_prim_setup.c b/src/mesa/softpipe/generic/g_prim_setup.c
index 125d361b92..0e1bc03b4f 100644
--- a/src/mesa/softpipe/generic/g_prim_setup.c
+++ b/src/mesa/softpipe/generic/g_prim_setup.c
@@ -205,7 +205,6 @@ static GLboolean setup_sort_vertices( struct setup_stage *setup,
const struct vertex_header *v2 = prim->v[2];
setup->vprovoke = v2;
-// setup->oneoverarea = -1.0 / prim->det;
/* determine bottom to top order of vertices */
{
@@ -230,7 +229,6 @@ static GLboolean setup_sort_vertices( struct setup_stage *setup,
setup->vmin = v0;
setup->vmid = v2;
setup->vmax = v1;
-// setup->oneoverarea = -setup->oneoverarea;
}
}
else {
@@ -239,14 +237,12 @@ static GLboolean setup_sort_vertices( struct setup_stage *setup,
setup->vmin = v1;
setup->vmid = v0;
setup->vmax = v2;
-// setup->oneoverarea = -setup->oneoverarea;
}
else if (y2 <= y1) {
/* y2<=y1<=y0 */
setup->vmin = v2;
setup->vmid = v1;
setup->vmax = v0;
-// setup->oneoverarea = -setup->oneoverarea;
}
else {
/* y1<=y2<=y0 */