mesa: Add missing break statement in SARGB8 case.
authorVinson Lee <vlee@vmware.com>
Thu, 13 Jan 2011 16:53:33 +0000 (08:53 -0800)
committerVinson Lee <vlee@vmware.com>
Thu, 13 Jan 2011 16:53:33 +0000 (08:53 -0800)
src/mesa/main/texrender.c

index 968f9f139c550d56c2b8842dcbff9f5b7b9c9aad..8cec24c3e247ccae5a9ad7d6068ba791cdc55fca 100644 (file)
@@ -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;