projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bad54d0
)
gallium/i965: added const to silence warnings
author
Brian
<brian@i915.localnet.net>
Wed, 27 Feb 2008 23:11:14 +0000
(16:11 -0700)
committer
Brian
<brian@i915.localnet.net>
Wed, 27 Feb 2008 23:11:14 +0000
(16:11 -0700)
src/gallium/drivers/i965simple/brw_context.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/i965simple/brw_context.h
b/src/gallium/drivers/i965simple/brw_context.h
index 170d50c5c37df61ff35595c4cbf7a2a451fff1fb..642db5b5a268b55595345cb4841800eb5cd28737 100644
(file)
--- 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];