mesa: remove a redundant call to _mesa_update_edgeflag_state_vao

It's called again a few lines later.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21438>
This commit is contained in:
Marek Olšák 2023-02-21 00:27:21 -05:00 committed by Marge Bot
parent 0293f8d8ce
commit 0a71957a9b

View file

@ -161,7 +161,6 @@ _mesa_restore_draw_vao(struct gl_context *ctx,
ctx->VertexProgram._VPModeInputFilter = saved_vp_input_filter;
/* Update states. */
_mesa_update_edgeflag_state_vao(ctx);
ctx->NewDriverState |= ST_NEW_VERTEX_ARRAYS;
ctx->Array.NewVertexElements = true;