From: Keith Whitwell Date: Tue, 9 Mar 2010 14:49:02 +0000 (+0000) Subject: softpipe: silence warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73d9400ad65c1ec0a20c29805a9fc1930687988c;p=mesa.git softpipe: silence warning --- diff --git a/src/gallium/drivers/softpipe/sp_context.h b/src/gallium/drivers/softpipe/sp_context.h index 95def72c541..3d69cfdb114 100644 --- a/src/gallium/drivers/softpipe/sp_context.h +++ b/src/gallium/drivers/softpipe/sp_context.h @@ -93,7 +93,7 @@ struct softpipe_context { ubyte *mapped_vbuffer[PIPE_MAX_ATTRIBS]; /** Mapped constant buffers */ - void *mapped_constants[PIPE_SHADER_TYPES][PIPE_MAX_CONSTANT_BUFFERS]; + const void *mapped_constants[PIPE_SHADER_TYPES][PIPE_MAX_CONSTANT_BUFFERS]; /** Vertex format */ struct vertex_info vertex_info;