summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-30 16:01:23 -0600
committerBrian <[email protected]>2007-08-30 16:01:23 -0600
commit8f1a0decad6baabed55371415fa4f75309c4c559 (patch)
tree3152f96f5c50142ca6c6caf31841f695fc60d739 /src
parent050837045f386bc2d034732edcedeb3168859da8 (diff)
fix unhandled switch/case warning
Diffstat (limited to 'src')
-rw-r--r--src/mesa/pipe/softpipe/sp_prim_setup.c4
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 b3c9f51e95c..e7b58e53140 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);
}
}
}