From 790ec6ad3face4fb2e1c4b69d9d42bdf332841d6 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Wed, 13 Jun 2007 15:37:52 +0100 Subject: [PATCH] Remove some dead code. --- src/mesa/softpipe/generic/g_prim_setup.c | 4 ---- 1 file changed, 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 */ -- 2.30.2