cso: remove unreachable break statements

This commit is contained in:
Brian Paul 2012-08-02 16:30:10 -06:00
parent 076e5eacf1
commit 832706a80b
1 changed files with 0 additions and 5 deletions

View File

@ -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);