mesa: add missing break statements
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 28 Nov 2008 23:17:38 +0000 (16:17 -0700)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 28 Nov 2008 23:17:57 +0000 (16:17 -0700)
src/mesa/swrast/s_texfilter.c

index 9e44fba3daf146c4c39634acef67a1278f595dac..352d496cec197b2f8d029ba0b8c1f7e3a7c19bd9 100644 (file)
@@ -2925,6 +2925,7 @@ sample_depth_texture( GLcontext *ctx,
                                            width, col);
             row = clamp_rect_coord_nearest(tObj->WrapT, texcoords[i][1], height);
             slice = 0;
+            break;
 
          case GL_TEXTURE_2D_ARRAY_EXT:
             COMPUTE_NEAREST_TEXEL_LOCATION(tObj->WrapS, texcoords[i][0],
@@ -3034,6 +3035,7 @@ sample_depth_texture( GLcontext *ctx,
             j0 = clamp_rect_coord_nearest(tObj->WrapT, texcoords[i][1], height);
             j1 = j0;
             slice = 0;
+            break;
 
          case GL_TEXTURE_2D_ARRAY_EXT:
             COMPUTE_LINEAR_TEXEL_LOCATIONS(tObj->WrapS, texcoords[i][0],