summaryrefslogtreecommitdiff
path: root/src/mesa/swrast
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-11-28 16:17:38 -0700
committerBrian Paul <brian.paul@tungstengraphics.com>2008-11-28 16:17:57 -0700
commitbaaf9779f1d892083238eb1af34cddc0c7541e22 (patch)
treec2842d91385c91ef1d322103932d119b5df4b4dd /src/mesa/swrast
parent166d5ac1704f241fffcaf7222143f4a99725278e (diff)
mesa: add missing break statements
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r--src/mesa/swrast/s_texfilter.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_texfilter.c b/src/mesa/swrast/s_texfilter.c
index 9e44fba3da..352d496cec 100644
--- a/src/mesa/swrast/s_texfilter.c
+++ b/src/mesa/swrast/s_texfilter.c
@@ -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],