summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2007-06-13 15:37:52 +0100
committerKeith Whitwell <[email protected]>2007-06-14 14:29:59 +0100
commit790ec6ad3face4fb2e1c4b69d9d42bdf332841d6 (patch)
treee84fc47a6e9ce27b91ba3fab63968c97649a49db /src
parent6378dc3ae302e8a69f482fd99a63a23d1a1730a1 (diff)
Remove some dead code.
Diffstat (limited to 'src')
-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 125d361b926..0e1bc03b4fd 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 */