projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1044b4
)
mesa: add missing return after _mesa_error() in update_array()
author
Brian Paul
<brianp@vmware.com>
Mon, 20 Feb 2012 02:50:31 +0000
(19:50 -0700)
committer
Brian Paul
<brianp@vmware.com>
Mon, 20 Feb 2012 15:04:33 +0000
(08:04 -0700)
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/main/varray.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/varray.c
b/src/mesa/main/varray.c
index 77c1d7d9b2743bd03fce16d1f793dda21f745fca..dfe5064e3c002b6fbbed6c388ef622f40854c483 100644
(file)
--- a/
src/mesa/main/varray.c
+++ b/
src/mesa/main/varray.c
@@
-185,6
+185,7
@@
update_array(struct gl_context *ctx,
(type == GL_UNSIGNED_INT_2_10_10_10_REV ||
type == GL_INT_2_10_10_10_REV) && size != 4) {
_mesa_error(ctx, GL_INVALID_OPERATION, "%s(size=%d)", func, size);
+ return;
}
ASSERT(size <= 4);