[vlc-commits] opengl: fix fall through warning
Thomas Guillem
git at videolan.org
Tue Oct 3 09:13:25 CEST 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Oct 3 09:12:48 2017 +0200| [1057e3fe68a415c6c768721387a2521fb6b65a91] | committer: Thomas Guillem
opengl: fix fall through warning
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1057e3fe68a415c6c768721387a2521fb6b65a91
---
modules/video_output/opengl/fragment_shaders.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/video_output/opengl/fragment_shaders.c b/modules/video_output/opengl/fragment_shaders.c
index 3462f296c9..5de7b95359 100644
--- a/modules/video_output/opengl/fragment_shaders.c
+++ b/modules/video_output/opengl/fragment_shaders.c
@@ -63,6 +63,7 @@ static int GetTexFormatSize(opengl_tex_converter_t *tc, int target,
{
case GL_BGRA:
mul = 4;
+ /* fall through */
case GL_RED:
tex_param_size = GL_TEXTURE_RED_SIZE;
break;
More information about the vlc-commits
mailing list