From df50af19d30f9ecc07e567911293601ed08fe94e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mathias=20Fr=C3=B6hlich?= Date: Sun, 12 May 2019 10:35:52 +0200 Subject: [PATCH] mesa: Make _mesa_set_varying_vp_inputs static in state.c. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Is no longer used outside that file. Reviewed-by: Marek Olšák Signed-off-by: Mathias Fröhlich --- src/mesa/main/state.c | 7 +++---- src/mesa/main/state.h | 4 ---- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c index 097cd9e..217232b 100644 --- a/src/mesa/main/state.c +++ b/src/mesa/main/state.c @@ -420,9 +420,8 @@ _mesa_update_state( struct gl_context *ctx ) * may vary or otherwise differ from the ctx->Current values. * Otherwise, the fp should track them as state values instead. */ -void -_mesa_set_varying_vp_inputs( struct gl_context *ctx, - GLbitfield varying_inputs ) +static void +set_varying_vp_inputs(struct gl_context *ctx, GLbitfield varying_inputs) { if (ctx->API != API_OPENGL_COMPAT && ctx->API != API_OPENGLES) @@ -535,5 +534,5 @@ _mesa_set_draw_vao(struct gl_context *ctx, struct gl_vertex_array_object *vao, ctx->NewDriverState |= ctx->DriverFlags.NewArray; ctx->Array._DrawVAOEnabledAttribs = enabled; - _mesa_set_varying_vp_inputs(ctx, enabled); + set_varying_vp_inputs(ctx, enabled); } diff --git a/src/mesa/main/state.h b/src/mesa/main/state.h index 92c0661..b3ea28d 100644 --- a/src/mesa/main/state.h +++ b/src/mesa/main/state.h @@ -39,10 +39,6 @@ _mesa_update_state_locked(struct gl_context *ctx); extern void -_mesa_set_varying_vp_inputs(struct gl_context *ctx, GLbitfield varying_inputs); - - -extern void _mesa_set_vp_override(struct gl_context *ctx, GLboolean flag); -- 2.7.4