Mesa (mesa_7_2_branch): mesa: add missing break statements
Brian Paul
brianp at kemper.freedesktop.org
Fri Nov 28 23:23:38 UTC 2008
Module: Mesa
Branch: mesa_7_2_branch
Commit: 3433a188952ee1821ba52fa39c044ee1cbdca8b6
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3433a188952ee1821ba52fa39c044ee1cbdca8b6
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date: Fri Nov 28 16:17:38 2008 -0700
mesa: add missing break statements
---
src/mesa/swrast/s_texfilter.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/mesa/swrast/s_texfilter.c b/src/mesa/swrast/s_texfilter.c
index ee61316..aa972f8 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],
More information about the mesa-commit
mailing list