fix unhandled switch/case warning
authorBrian <brian.paul@tungstengraphics.com>
Thu, 30 Aug 2007 22:01:23 +0000 (16:01 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 30 Aug 2007 22:01:23 +0000 (16:01 -0600)
src/mesa/pipe/softpipe/sp_prim_setup.c

index b3c9f51e95cc54c0e2d649702b8c4f5907fd7a35..e7b58e531402f3563ac0272feec44f136a174feb 100644 (file)
@@ -717,6 +717,10 @@ setup_line_coefficients(struct setup_stage *setup, struct prim_header *prim)
         for (j = 0; j < NUM_CHANNELS; j++)
            line_persp_coeff(setup, slot, j);
         break;
+
+      default:
+         /* invalid interp mode */
+         assert(0);
       }
    }
 }