From: Ian Romanick Date: Thu, 4 Mar 2010 09:56:20 +0000 (-0800) Subject: DRI: Put back missing break-statement X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c7f7a309af54c76eccb451aa0c4f007656ebe7e1;p=mesa.git DRI: Put back missing break-statement The break in the __DRI_ATTRIB_RENDER_TYPE case was accidentally removed in commit 5cf2c5851bcd29c2d53bb04ab692b4b156f5a74d. This puts it back. Signed-off-by: Ian Romanick --- diff --git a/src/mesa/drivers/dri/common/utils.c b/src/mesa/drivers/dri/common/utils.c index 9a21f2c9f2c..b85b364c575 100644 --- a/src/mesa/drivers/dri/common/utils.c +++ b/src/mesa/drivers/dri/common/utils.c @@ -726,6 +726,7 @@ driGetConfigAttribIndex(const __DRIconfig *config, switch (attribMap[index].attrib) { case __DRI_ATTRIB_RENDER_TYPE: *value = __DRI_ATTRIB_RGBA_BIT; + break; case __DRI_ATTRIB_CONFIG_CAVEAT: if (config->modes.visualRating == GLX_NON_CONFORMANT_CONFIG) *value = __DRI_ATTRIB_NON_CONFORMANT_CONFIG;