From: Brian Date: Wed, 27 Feb 2008 23:11:14 +0000 (-0700) Subject: gallium/i965: added const to silence warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7ba1afb03308685eb07d6b88184906ac42f60c2b;p=mesa.git gallium/i965: added const to silence warnings --- 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];