mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-27 09:50:20 +01:00
swrast: add missing break in clamp_rect_coord_linear()
See bug 21461.
This commit is contained in:
parent
e0d5ff1a8a
commit
dcf571aff9
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue