mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
mesa: add missing return after _mesa_error() in update_array()
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: José Fonseca <jfonseca@vmware.com>
(cherry picked from commit e14b357367)
This commit is contained in:
parent
d342246e2b
commit
88cbc43d1f
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue