summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/arrayobj.c
diff options
context:
space:
mode:
authorMathias Fröhlich <[email protected]>2019-04-03 13:25:22 +0200
committerMathias Fröhlich <[email protected]>2019-05-04 07:40:35 +0200
commit68aaf0a4e35da67b2bda5403015c3e1bc26cee25 (patch)
treec659a1e5b840ca1333339503b904df21d8bb64fb /src/mesa/main/arrayobj.c
parent7af047c3732c2a701b010b79fd8dae35c5f17268 (diff)
mesa: Remove the now unused _NEW_ARRAY state change flag.
Is no longer used, so we have less occasions where NewState is non zero. Reviewed-by: Brian Paul <[email protected]> Signed-off-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa/main/arrayobj.c')
-rw-r--r--src/mesa/main/arrayobj.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/main/arrayobj.c b/src/mesa/main/arrayobj.c
index 63138096da6..a6d48f5ffed 100644
--- a/src/mesa/main/arrayobj.c
+++ b/src/mesa/main/arrayobj.c
@@ -1049,7 +1049,6 @@ bind_vertex_array(struct gl_context *ctx, GLuint id, bool no_error)
*/
_mesa_set_draw_vao(ctx, ctx->Array._EmptyVAO, 0);
- ctx->NewState |= _NEW_ARRAY;
_mesa_reference_vao(ctx, &ctx->Array.VAO, newObj);
}