summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-02-27 16:11:14 -0700
committerBrian <[email protected]>2008-02-27 16:11:14 -0700
commit7ba1afb03308685eb07d6b88184906ac42f60c2b (patch)
tree26533d3003de78f75929afa3aafe6c791b34ab97 /src
parentbad54d0b4dbe62aed6fad1d2725f7fe52a987440 (diff)
gallium/i965: added const to silence warnings
Diffstat (limited to 'src')
-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 170d50c5c37..642db5b5a26 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];