summaryrefslogtreecommitdiffstats
path: root/src
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
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')
-rw-r--r--src/mesa/main/state.c7
-rw-r--r--src/mesa/main/state.h4
2 files changed, 3 insertions, 8 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);
}
diff --git a/src/mesa/main/state.h b/src/mesa/main/state.h
index 92c0661d4ee..b3ea28d0968 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);