projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0d5ff1
)
swrast: add missing break in clamp_rect_coord_linear()
author
Brian Paul
<brianp@vmware.com>
Tue, 28 Apr 2009 15:05:19 +0000
(09:05 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 28 Apr 2009 15:05:19 +0000
(09:05 -0600)
See bug 21461.
src/mesa/swrast/s_texfilter.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_texfilter.c
b/src/mesa/swrast/s_texfilter.c
index a483023a50332e421de64d41e6a7e9782370245a..31bfb5c95204b6411c94fb481ed971b4d98118a7 100644
(file)
--- 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;