mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 22:08:26 +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>
(cherry picked from commit 06f3a1f792)
This commit is contained in:
parent
2cde1e592e
commit
c10c3eab4c
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