From 881d2fcafaddd391b03753173d126148c9dafbcf Mon Sep 17 00:00:00 2001 From: Mathias Fröhlich Date: Sun, 1 Apr 2018 20:18:36 +0200 Subject: mesa: Remove Array._DrawArrays. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only tnl based drivers still use this array. So remove it from core mesa and use Array._DrawVAO instead. Reviewed-by: Brian Paul Signed-off-by: Mathias Fröhlich --- src/mesa/main/attrib.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/mesa/main/attrib.c') diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c index e565750a891..cbe93ab6faa 100644 --- a/src/mesa/main/attrib.c +++ b/src/mesa/main/attrib.c @@ -1588,7 +1588,6 @@ copy_array_attrib(struct gl_context *ctx, /* skip IndexBufferObj */ /* Invalidate array state. It will be updated during the next draw. */ - _mesa_set_drawing_arrays(ctx, NULL); _mesa_set_draw_vao(ctx, ctx->Array._EmptyVAO, 0); } -- cgit v1.2.3