aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/state.c
diff options
context:
space:
mode:
authorMathias Fröhlich <[email protected]>2019-05-12 10:35:52 +0200
committerMathias Fröhlich <[email protected]>2019-05-14 18:09:49 +0200
commitdf50af19d30f9ecc07e567911293601ed08fe94e (patch)
tree402fa69ef1cd3bb2352a390abf378d39f6248fd8 /src/mesa/main/state.c
parent99952579f343c39850c6d2d3c48a30c4b0a5053d (diff)
mesa: Make _mesa_set_varying_vp_inputs static in state.c.
Is no longer used outside that file. Reviewed-by: Marek Olšák <[email protected]> Signed-off-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa/main/state.c')
-rw-r--r--src/mesa/main/state.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c
index 097cd9e20d2..217232bcdad 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);
}