From: Brian Date: Wed, 15 Aug 2007 17:42:53 +0000 (-0600) Subject: added some const qualifiers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c431a22f520c9685e9da37bfdd6b6b2b0af03800;p=mesa.git added some const qualifiers --- 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 * ); /*