summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-03-04 01:56:20 -0800
committerIan Romanick <[email protected]>2010-03-04 01:58:28 -0800
commitc7f7a309af54c76eccb451aa0c4f007656ebe7e1 (patch)
tree0d17a37ab56281e1a3b9e9cf4efc5b2da3369006 /src/mesa
parent34b2cec95c9e7781f4d32deed9980f05ee553d1d (diff)
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 <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/common/utils.c1
1 files changed, 1 insertions, 0 deletions
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;