softpipe: remove unneeded const qualifier
authorBrian Paul <brianp@vmware.com>
Fri, 21 Aug 2009 19:45:16 +0000 (13:45 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 21 Aug 2009 19:45:16 +0000 (13:45 -0600)
src/gallium/drivers/softpipe/sp_state_fs.c

index 3a4532192354193c891aa722360db59a52c2f61a..a055d6295fedfe6ea45cfa1592f789e0cde4e1ac 100644 (file)
@@ -128,7 +128,7 @@ softpipe_bind_vs_state(struct pipe_context *pipe, void *vs)
 {
    struct softpipe_context *softpipe = softpipe_context(pipe);
 
-   softpipe->vs = (const struct sp_vertex_shader *)vs;
+   softpipe->vs = (struct sp_vertex_shader *)vs;
 
    draw_bind_vertex_shader(softpipe->draw,
                            (softpipe->vs ? softpipe->vs->draw_data : NULL));