diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-08-30 16:01:23 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-08-30 16:01:23 -0600 |
commit | 8f1a0decad6baabed55371415fa4f75309c4c559 (patch) | |
tree | 3152f96f5c50142ca6c6caf31841f695fc60d739 | |
parent | 050837045f386bc2d034732edcedeb3168859da8 (diff) |
fix unhandled switch/case warning
-rw-r--r-- | src/mesa/pipe/softpipe/sp_prim_setup.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_prim_setup.c b/src/mesa/pipe/softpipe/sp_prim_setup.c index b3c9f51e95..e7b58e5314 100644 --- a/src/mesa/pipe/softpipe/sp_prim_setup.c +++ b/src/mesa/pipe/softpipe/sp_prim_setup.c @@ -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); } } } |