Module: Mesa
Branch: main
Commit: 0a71957a9bfc6e529192509a0588ea9ce4171452
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a71957a9bfc6e529192509a0588ea9ce4171452

Author: Marek Olšák <[email protected]>
Date:   Tue Feb 21 00:27:21 2023 -0500

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 <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21438>

---

 src/mesa/main/draw.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/mesa/main/draw.c b/src/mesa/main/draw.c
index de8ec0fe318..46abff6c044 100644
--- a/src/mesa/main/draw.c
+++ b/src/mesa/main/draw.c
@@ -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;
 

Reply via email to