From c7f7a309af54c76eccb451aa0c4f007656ebe7e1 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 4 Mar 2010 01:56:20 -0800 Subject: [PATCH] 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 --- src/mesa/drivers/dri/common/utils.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2