aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);