Mesa (master): cell: added const qualifier
Brian Paul
brianp at kemper.freedesktop.org
Tue Jul 27 02:50:41 UTC 2010
Module: Mesa
Branch: master
Commit: d2c714627ca490b23639ba4c32603f56b9d993e3
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d2c714627ca490b23639ba4c32603f56b9d993e3
Author: Brian Paul <brianp at vmware.com>
Date: Mon Jul 26 20:48:46 2010 -0600
cell: added const qualifier
---
src/gallium/drivers/cell/ppu/cell_context.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/cell/ppu/cell_context.h b/src/gallium/drivers/cell/ppu/cell_context.h
index 07b6eeb..dc46e59 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;
More information about the mesa-commit
mailing list