summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/pipe/p_context.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/p_context.h b/src/mesa/pipe/p_context.h
index c0685fa8cba..ae2cc25fe38 100644
--- a/src/mesa/pipe/p_context.h
+++ b/src/mesa/pipe/p_context.h
@@ -138,11 +138,11 @@ struct pipe_context {
void (*set_vertex_buffer)( struct pipe_context *,
unsigned index,
- struct pipe_vertex_buffer * );
+ const struct pipe_vertex_buffer * );
void (*set_vertex_element)( struct pipe_context *,
unsigned index,
- struct pipe_vertex_element * );
+ const struct pipe_vertex_element * );
/*