From: Vinson Lee Date: Tue, 28 May 2013 00:54:35 +0000 (-0700) Subject: mesa: Add missing break statement in _mesa_choose_tex_format. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=171199b2b7d3de3783a3e69c5a81795f5f8b5f10;p=mesa.git 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 --- 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);