diff options
author | Timothy Arceri <[email protected]> | 2017-04-22 17:30:27 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-04-26 10:03:06 +1000 |
commit | 2895d96a057b91214b7fe9919fb665faab59b849 (patch) | |
tree | f248a355e075623f4d93447a42a98b07b217572e /src/mesa/main/varray.c | |
parent | f38845b9cbc892e09086c6d1a0d97eb516f1de83 (diff) |
mesa: tidy up left over APPLE_vertex_array_object semantics
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/main/varray.c')
-rw-r--r-- | src/mesa/main/varray.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index 78dc004637f..709f6d4ec94 100644 --- a/src/mesa/main/varray.c +++ b/src/mesa/main/varray.c @@ -509,7 +509,7 @@ validate_array(struct gl_context *ctx, const char *func, * to the ARRAY_BUFFER buffer object binding point (see section * 2.9.6), and the pointer argument is not NULL." */ - if (ptr != NULL && vao->ARBsemantics && + if (ptr != NULL && vao != ctx->Array.DefaultVAO && !_mesa_is_bufferobj(ctx->Array.ArrayBufferObj)) { _mesa_error(ctx, GL_INVALID_OPERATION, "%s(non-VBO array)", func); return; |