From: Keith Whitwell Date: Wed, 13 Jun 2007 14:37:52 +0000 (+0100) Subject: Remove some dead code. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=790ec6ad3face4fb2e1c4b69d9d42bdf332841d6;p=mesa.git Remove some dead code. --- 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 */