softpipe: silence warning
authorKeith Whitwell <keithw@vmware.com>
Tue, 9 Mar 2010 14:49:02 +0000 (14:49 +0000)
committerKeith Whitwell <keithw@vmware.com>
Tue, 9 Mar 2010 14:50:16 +0000 (14:50 +0000)
src/gallium/drivers/softpipe/sp_context.h

index 95def72c54135d2836948c2b9a789db7c8ee7d15..3d69cfdb114aa896dca6b15973179ec22508b6eb 100644 (file)
@@ -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;