From: Adam Jackson <a...@redhat.com> 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 <a...@redhat.com> --- src/mesa/drivers/dri/r200/r200_maos_arrays.c | 3 ++- 1 Datei geändert, 2 Zeilen hinzugefügt(+), 1 Zeile entfernt(-) diff --git a/src/mesa/drivers/dri/r200/r200_maos_arrays.c b/src/mesa/drivers/dri/r200/r200_maos_arrays.c index 973dcaf..d7607bc 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; -- 1.7.10.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev