summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2010-03-09 14:49:02 +0000
committerKeith Whitwell <[email protected]>2010-03-09 14:50:16 +0000
commit73d9400ad65c1ec0a20c29805a9fc1930687988c (patch)
treea1107f0ec7396f532adabb9d9d581d87b880550a
parent3db9644a9efd37fdefbde9ef5f9e60f44938d614 (diff)
softpipe: silence warning
-rw-r--r--src/gallium/drivers/softpipe/sp_context.h2
1 files changed, 1 insertions, 1 deletions
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;