front/back determination was wrong

This commit is contained in:
Brian 2007-10-16 17:59:24 -06:00
parent 29cfec1581
commit 4959617164

View file

@ -125,7 +125,7 @@ static void unfilled_tri( struct draw_stage *stage,
struct prim_header *header )
{
struct unfilled_stage *unfilled = unfilled_stage(stage);
unsigned mode = unfilled->mode[header->det < 0.0];
unsigned mode = unfilled->mode[header->det >= 0.0];
switch (mode) {
case PIPE_POLYGON_MODE_FILL: