diff options
author | Corbin Simpson <[email protected]> | 2009-01-23 16:00:33 -0800 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-02-01 23:30:26 -0800 |
commit | 5f95f0538e5a354431cc3bbed662c4983e6d0614 (patch) | |
tree | 2f1e2977dac42e396d01312281a070d0fe6b55c0 | |
parent | 45cb94217ebd55a4d38264ce83806062ba25a478 (diff) |
amd: Fix missing break statement.
-rw-r--r-- | src/gallium/winsys/drm/amd/amd_screen.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/winsys/drm/amd/amd_screen.c b/src/gallium/winsys/drm/amd/amd_screen.c index 22d8973eb79..fcf8524525c 100644 --- a/src/gallium/winsys/drm/amd/amd_screen.c +++ b/src/gallium/winsys/drm/amd/amd_screen.c @@ -187,11 +187,12 @@ static boolean amd_buffer_create(__DRIscreenPrivate *dri_screen, } switch (visual->depthBits) { + case 24: + depth_format = PIPE_FORMAT_S8Z24_UNORM; + break; case 16: depth_format = PIPE_FORMAT_Z16_UNORM; break; - case 24: - depth_format = PIPE_FORMAT_S8Z24_UNORM; default: depth_format = PIPE_FORMAT_NONE; break; |