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 c0685fa..ae2cc25 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 * );
                               
    
    /*