diff options
author | Brian Paul <[email protected]> | 2012-04-18 10:47:10 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-04-20 07:32:33 -0600 |
commit | b0e048f0b955ef79e2de794172de053d27d7d8fa (patch) | |
tree | a34dbcb7643b89f8a2686c135d04f6d5eb12bf1b /src/mesa/main/arrayobj.c | |
parent | 0615eb8fc3e516f56c27cddb6206f4e53142506c (diff) |
mesa: move gl_array_attrib::NewState to gl_array_object::NewArrays
The field wasn't actually used before and it's not used now either.
But this is a more logical place for it and will hopefully allow
doing smarter draw/array validation (per array object) in the future.
Reviewed-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa/main/arrayobj.c')
-rw-r--r-- | src/mesa/main/arrayobj.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/main/arrayobj.c b/src/mesa/main/arrayobj.c index c7584d903db..4c50066de0b 100644 --- a/src/mesa/main/arrayobj.c +++ b/src/mesa/main/arrayobj.c @@ -389,7 +389,6 @@ bind_vertex_array(struct gl_context *ctx, GLuint id, GLboolean genRequired) } ctx->NewState |= _NEW_ARRAY; - ctx->Array.NewState |= VERT_BIT_ALL; _mesa_reference_array_object(ctx, &ctx->Array.ArrayObj, newObj); /* Pass BindVertexArray call to device driver */ |