summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorBrian <brian@i915.localnet.net>2008-02-27 16:11:14 -0700
committerBrian <brian@i915.localnet.net>2008-02-27 16:11:14 -0700
commit7ba1afb03308685eb07d6b88184906ac42f60c2b (patch)
tree26533d3003de78f75929afa3aafe6c791b34ab97 /src/gallium/drivers
parentbad54d0b4dbe62aed6fad1d2725f7fe52a987440 (diff)
gallium/i965: added const to silence warnings
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/i965simple/brw_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965simple/brw_context.h b/src/gallium/drivers/i965simple/brw_context.h
index 170d50c5c3..642db5b5a2 100644
--- a/src/gallium/drivers/i965simple/brw_context.h
+++ b/src/gallium/drivers/i965simple/brw_context.h
@@ -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];