DRI: Put back missing break-statement
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 4 Mar 2010 09:56:20 +0000 (01:56 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 4 Mar 2010 09:58:28 +0000 (01:58 -0800)
The break in the __DRI_ATTRIB_RENDER_TYPE case was accidentally
removed in commit 5cf2c5851bcd29c2d53bb04ab692b4b156f5a74d.  This puts
it back.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/common/utils.c

index 9a21f2c9f2c09ab7bfc08612c591b4a556890b9b..b85b364c5757e0edfa1e0892f59c1ff67e3f91ff 100644 (file)
@@ -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;