summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-01-18 18:14:03 -0800
committerVinson Lee <[email protected]>2010-01-18 18:14:03 -0800
commitf8db32acbd03079d4ef30daa1db1339aa35b5cfb (patch)
tree985b0a5451456c4fc0e4ca33691f4ec42d44f441
parent28576c9ac5a3b6459d94822f333d2e3fbefe5003 (diff)
st/dri: Add comment for intentional fallthrough in case statement.
-rw-r--r--src/gallium/state_trackers/dri/dri_drawable.c1
1 files changed, 1 insertions, 0 deletions
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;