From 171199b2b7d3de3783a3e69c5a81795f5f8b5f10 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Mon, 27 May 2013 17:54:35 -0700 Subject: [PATCH] mesa: Add missing break statement in _mesa_choose_tex_format. Fixes "Missing break in switch" defect reported by Coverity. Signed-off-by: Vinson Lee Reviewed-by: Brian Paul Reviewed-by: Eric Anholt --- src/mesa/main/texformat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/main/texformat.c b/src/mesa/main/texformat.c index fda5d74c1fe..0ae79ea7d08 100644 --- a/src/mesa/main/texformat.c +++ b/src/mesa/main/texformat.c @@ -218,6 +218,7 @@ _mesa_choose_tex_format(struct gl_context *ctx, GLenum target, RETURN_IF_SUPPORTED(MESA_FORMAT_Z16); RETURN_IF_SUPPORTED(MESA_FORMAT_X8_Z24); RETURN_IF_SUPPORTED(MESA_FORMAT_S8_Z24); + break; case GL_COMPRESSED_ALPHA_ARB: RETURN_IF_SUPPORTED(MESA_FORMAT_A8); -- 2.30.2