summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/state.h')
-rw-r--r--src/mesa/main/state.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/state.h b/src/mesa/main/state.h
index 5814c659a31..049166578c2 100644
--- a/src/mesa/main/state.h
+++ b/src/mesa/main/state.h
@@ -46,6 +46,13 @@ extern void
_mesa_set_vp_override(struct gl_context *ctx, GLboolean flag);
+/**
+ * Update ctx->VertexProgram._VertexProgramMode.
+ */
+extern void
+_mesa_update_vertex_processing_mode(struct gl_context *ctx);
+
+
static inline bool
_mesa_ati_fragment_shader_enabled(const struct gl_context *ctx)
{