projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b8adab
)
r200: Fix probable thinko in r200EmitArrays
author
Adam Jackson
<ajax@redhat.com>
Fri, 4 Jan 2013 19:26:20 +0000
(14:26 -0500)
committer
Andreas Boll
<andreas.boll.dev@gmail.com>
Sun, 13 Jan 2013 11:38:31 +0000
(12:38 +0100)
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>
src/mesa/drivers/dri/r200/r200_maos_arrays.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r200/r200_maos_arrays.c
b/src/mesa/drivers/dri/r200/r200_maos_arrays.c
index 973dcaf07d990a15c7ae1c165ece18d7c1c0c30b..d7607bcaf4c5bf6ca58f76ffcd20b4782304afe2 100644
(file)
--- 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;