From: Vinson Lee Date: Tue, 19 Jan 2010 02:14:03 +0000 (-0800) Subject: st/dri: Add comment for intentional fallthrough in case statement. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f8db32acbd03079d4ef30daa1db1339aa35b5cfb;p=mesa.git st/dri: Add comment for intentional fallthrough in case statement. --- diff --git a/src/gallium/state_trackers/dri/dri_drawable.c b/src/gallium/state_trackers/dri/dri_drawable.c index 0a8c1cd3618..99dc0225493 100644 --- a/src/gallium/state_trackers/dri/dri_drawable.c +++ b/src/gallium/state_trackers/dri/dri_drawable.c @@ -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;