gallium/i965: added const to silence warnings
authorBrian <brian@i915.localnet.net>
Wed, 27 Feb 2008 23:11:14 +0000 (16:11 -0700)
committerBrian <brian@i915.localnet.net>
Wed, 27 Feb 2008 23:11:14 +0000 (16:11 -0700)
src/gallium/drivers/i965simple/brw_context.h

index 170d50c5c37df61ff35595c4cbf7a2a451fff1fb..642db5b5a268b55595345cb4841800eb5cd28737 100644 (file)
@@ -504,7 +504,7 @@ struct brw_context
       /* Arrays with buffer objects to copy non-bufferobj arrays into
        * for upload:
        */
-      struct pipe_vertex_buffer *vbo_array[PIPE_ATTRIB_MAX];
+      const struct pipe_vertex_buffer *vbo_array[PIPE_ATTRIB_MAX];
 
       struct brw_vertex_element_state inputs[PIPE_ATTRIB_MAX];