summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2013-01-04 14:26:20 -0500
committerAndreas Boll <[email protected]>2013-01-13 12:38:31 +0100
commit06f3a1f792e5f280c8e83581622b2f4bab811720 (patch)
treeb50f22b8653134b54f5a6db79638da54993317bc /src/mesa/drivers
parent1b8adabe2e6cf1cffcb6cf41d0d10d219c814d84 (diff)
r200: Fix probable thinko in r200EmitArrays
Effectively this path would always assert. Move the break statement to the (probable) intended place. Note: This is a candidate for the stable branches. Signed-off-by: Adam Jackson <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/r200/r200_maos_arrays.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_maos_arrays.c b/src/mesa/drivers/dri/r200/r200_maos_arrays.c
index 973dcaf07d9..d7607bcaf4c 100644
--- a/src/mesa/drivers/dri/r200/r200_maos_arrays.c
+++ b/src/mesa/drivers/dri/r200/r200_maos_arrays.c
@@ -166,8 +166,9 @@ void r200EmitArrays( struct gl_context *ctx, GLubyte *vimap_rev )
/* fallthrough */
case 4:
vfmt0 |= R200_VTX_W1;
- break;
+ /* fallthrough */
}
+ break;
default:
assert(0);
emitsize = 0;