st/dri: Add comment for intentional fallthrough in case statement.
authorVinson Lee <vlee@vmware.com>
Tue, 19 Jan 2010 02:14:03 +0000 (18:14 -0800)
committerVinson Lee <vlee@vmware.com>
Tue, 19 Jan 2010 02:14:03 +0000 (18:14 -0800)
src/gallium/state_trackers/dri/dri_drawable.c

index 0a8c1cd..99dc022 100644 (file)
@@ -183,6 +183,7 @@ dri_get_buffers(__DRIdrawablePrivate * dPriv)
       case __DRI_BUFFER_FRONT_LEFT:
         if (!st_screen->auto_fake_front)
            continue;
+        /* fallthrough */
       case __DRI_BUFFER_FAKE_FRONT_LEFT:
         index = ST_SURFACE_FRONT_LEFT;
         format = drawable->color_format;