cell: added const qualifier
authorBrian Paul <brianp@vmware.com>
Tue, 27 Jul 2010 02:48:46 +0000 (20:48 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 27 Jul 2010 02:48:46 +0000 (20:48 -0600)
src/gallium/drivers/cell/ppu/cell_context.h

index 07b6eeb..dc46e59 100644 (file)
@@ -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;