=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: wined3d: Add some ' fall through' comments (coverity).
Alexandre Julliard
julliard at winehq.org
Fri Nov 30 13:48:20 CST 2012
Module: wine
Branch: master
Commit: a6db6688950deb5605d49b7e37d6ea56bec13da2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a6db6688950deb5605d49b7e37d6ea56bec13da2
Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date: Thu Nov 29 17:04:32 2012 +0100
wined3d: Add some 'fall through' comments (coverity).
---
dlls/wined3d/glsl_shader.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
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;
More information about the wine-cvs
mailing list