mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
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 <ajax@redhat.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
parent
1b8adabe2e
commit
06f3a1f792
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue