summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-04-28 09:05:19 -0600
committerBrian Paul <[email protected]>2009-04-28 09:05:19 -0600
commitdcf571aff9de1a4298c4d2c4148d84cdc4daf02e (patch)
treec9b61b43f44e588900e76138deff8ad28b84cac8 /src/mesa
parente0d5ff1a8a2237808d88f087f029224beee015af (diff)
swrast: add missing break in clamp_rect_coord_linear()
See bug 21461.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/swrast/s_texfilter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_texfilter.c b/src/mesa/swrast/s_texfilter.c
index a483023a503..31bfb5c9520 100644
--- a/src/mesa/swrast/s_texfilter.c
+++ b/src/mesa/swrast/s_texfilter.c
@@ -462,6 +462,7 @@ clamp_rect_coord_linear(GLenum wrapMode, GLfloat coord, GLint max,
fcol -= 0.5F;
i0 = IFLOOR(fcol);
i1 = i0 + 1;
+ break;
default:
_mesa_problem(NULL, "bad wrapMode in clamp_rect_coord_linear");
i0 = i1 = 0;