aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-08-02 16:30:10 -0600
committerBrian Paul <[email protected]>2012-08-03 07:16:35 -0600
commit832706a80beb1643ec777a0a795a4ddcf6dfaca4 (patch)
treed2e4d9bd2de0e21a05d46aea3d33d399111386be
parent076e5eacf1e5653acd1e99f0e7fdfe7499da5665 (diff)
cso: remove unreachable break statements
-rw-r--r--src/gallium/auxiliary/cso_cache/cso_context.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/auxiliary/cso_cache/cso_context.c b/src/gallium/auxiliary/cso_cache/cso_context.c
index 7db1e41f8b0..b592c4f2feb 100644
--- a/src/gallium/auxiliary/cso_cache/cso_context.c
+++ b/src/gallium/auxiliary/cso_cache/cso_context.c
@@ -189,19 +189,14 @@ static INLINE boolean delete_cso(struct cso_context *ctx,
switch (type) {
case CSO_BLEND:
return delete_blend_state(ctx, state);
- break;
case CSO_SAMPLER:
return delete_sampler_state(ctx, state);
- break;
case CSO_DEPTH_STENCIL_ALPHA:
return delete_depth_stencil_state(ctx, state);
- break;
case CSO_RASTERIZER:
return delete_rasterizer_state(ctx, state);
- break;
case CSO_VELEMENTS:
return delete_vertex_elements(ctx, state);
- break;
default:
assert(0);
FREE(state);