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 0a8c1cd36184cf59d0ce80ed810e409f15ce53b2..99dc02254932fb1b567df7424e7ec594fa96de1f 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;