mesa: 80-column wrapping, remove trailing whitespace in arrayobj.c
This commit is contained in:
@@ -340,7 +340,8 @@ _mesa_update_array_object_max_element(struct gl_context *ctx,
|
||||
* or a gl_vertex_buffer_binding has changed.
|
||||
*/
|
||||
void
|
||||
_mesa_update_array_object_client_arrays(struct gl_context *ctx, struct gl_array_object *arrayObj)
|
||||
_mesa_update_array_object_client_arrays(struct gl_context *ctx,
|
||||
struct gl_array_object *arrayObj)
|
||||
{
|
||||
GLbitfield64 arrays = arrayObj->NewArrays;
|
||||
|
||||
@@ -356,7 +357,8 @@ _mesa_update_array_object_client_arrays(struct gl_context *ctx, struct gl_array_
|
||||
buffer_binding = &arrayObj->VertexBinding[attrib_array->VertexBinding];
|
||||
client_array = &arrayObj->_VertexAttrib[attrib];
|
||||
|
||||
_mesa_update_client_array(ctx, client_array, attrib_array, buffer_binding);
|
||||
_mesa_update_client_array(ctx, client_array, attrib_array,
|
||||
buffer_binding);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -396,7 +398,8 @@ bind_vertex_array(struct gl_context *ctx, GLuint id, GLboolean genRequired)
|
||||
newObj = _mesa_lookup_arrayobj(ctx, id);
|
||||
if (!newObj) {
|
||||
if (genRequired) {
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glBindVertexArray(non-gen name)");
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION,
|
||||
"glBindVertexArray(non-gen name)");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user