projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28576c9
)
st/dri: Add comment for intentional fallthrough in case statement.
author
Vinson Lee
<vlee@vmware.com>
Tue, 19 Jan 2010 02:14:03 +0000
(18:14 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Tue, 19 Jan 2010 02:14:03 +0000
(18:14 -0800)
src/gallium/state_trackers/dri/dri_drawable.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/dri/dri_drawable.c
b/src/gallium/state_trackers/dri/dri_drawable.c
index 0a8c1cd36184cf59d0ce80ed810e409f15ce53b2..99dc02254932fb1b567df7424e7ec594fa96de1f 100644
(file)
--- 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;