From d76f1da7cb4a9c5666e2364f90eb09552e839b55 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Thu, 13 Jan 2011 08:53:33 -0800 Subject: [PATCH] mesa: Add missing break statement in SARGB8 case. --- src/mesa/main/texrender.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/main/texrender.c b/src/mesa/main/texrender.c index 968f9f139c5..8cec24c3e24 100644 --- a/src/mesa/main/texrender.c +++ b/src/mesa/main/texrender.c @@ -599,6 +599,7 @@ update_wrapper(struct gl_context *ctx, const struct gl_renderbuffer_attachment * trb->Fetchf = _mesa_get_texel_fetch_func(MESA_FORMAT_ARGB8888, _mesa_get_texture_dimensions(att->Texture->Target)); trb->Base.DataType = CHAN_TYPE; trb->Base._BaseFormat = GL_RGBA; + break; default: trb->Base.DataType = CHAN_TYPE; trb->Base._BaseFormat = GL_RGBA; -- 2.30.2