wined3d: Add some 'fall through' comments (coverity)
Frédéric Delanoy
frederic.delanoy at gmail.com
Thu Nov 29 10:04:32 CST 2012
CIDs 744973-744974
---
dlls/wined3d/glsl_shader.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/wined3d/glsl_shader.c b/dlls/wined3d/glsl_shader.c
index 9490552..3cac7d8 100644
--- a/dlls/wined3d/glsl_shader.c
+++ b/dlls/wined3d/glsl_shader.c
@@ -5126,8 +5126,10 @@ static GLuint shader_glsl_generate_ffp_fragment_shader(struct wined3d_shader_buf
{
case WINED3D_TOP_BUMPENVMAP_LUMINANCE:
lum_map |= 1 << stage;
+ /* fall through */
case WINED3D_TOP_BUMPENVMAP:
bump_map |= 1 << stage;
+ /* fall through */
case WINED3D_TOP_BLEND_TEXTURE_ALPHA:
case WINED3D_TOP_BLEND_TEXTURE_ALPHA_PM:
tex_map |= 1 << stage;
--
1.8.0
More information about the wine-patches
mailing list