added some const qualifiers
authorBrian <brian.paul@tungstengraphics.com>
Wed, 15 Aug 2007 17:42:53 +0000 (11:42 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Wed, 15 Aug 2007 17:42:53 +0000 (11:42 -0600)
src/mesa/pipe/p_context.h

index c0685fa8cbac9ad94ab7ebe0e4316b64226a30a9..ae2cc25fe3870a666e662042fb7ef38f1d6c2388 100644 (file)
@@ -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 * );
                               
    
    /*