From: Brian Paul Date: Tue, 27 Jul 2010 02:48:46 +0000 (-0600) Subject: cell: added const qualifier X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d2c714627ca490b23639ba4c32603f56b9d993e3;p=mesa.git cell: added const qualifier --- diff --git a/src/gallium/drivers/cell/ppu/cell_context.h b/src/gallium/drivers/cell/ppu/cell_context.h index 07b6eebc69c..dc46e59a2d3 100644 --- a/src/gallium/drivers/cell/ppu/cell_context.h +++ b/src/gallium/drivers/cell/ppu/cell_context.h @@ -154,7 +154,7 @@ struct cell_context struct vertex_info vertex_info; /** Mapped constant buffers */ - void *mapped_constants[PIPE_SHADER_TYPES]; + const void *mapped_constants[PIPE_SHADER_TYPES]; PIPE_ALIGN_VAR(16) struct cell_spu_function_info spu_functions;