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 07b6eebc69c37e15fbe24b336838c9eb85c71ed8..dc46e59a2d39b7e349446f3617cc9a22f59138b0 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;