summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-04-28 09:09:41 -0600
committerBrian Paul <brianp@vmware.com>2009-06-17 11:30:01 -0600
commitc89f0618a06663d7db5cc09ec4c860b04284db5d (patch)
treea178efb4679ea436ac98f999ef7a9f8e7534120f /src
parentae22ad765843c19d4c853277416a6d52d9918c83 (diff)
swrast: add missing break in clamp_rect_coord_linear()
See bug 21461. (cherry picked from master, commit dcf571aff9de1a4298c4d2c4148d84cdc4daf02e)
Diffstat (limited to 'src')
-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 a095b255ab5..fce0bcf0caf 100644
--- a/src/mesa/swrast/s_texfilter.c
+++ b/src/mesa/swrast/s_texfilter.c
@@ -2061,6 +2061,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;