Mesa (softpipe-opt): softpipe: remove unneeded const qualifier

Brian Paul brianp at kemper.freedesktop.org
Fri Aug 21 20:08:30 UTC 2009


Module: Mesa
Branch: softpipe-opt
Commit: 46fbc872881081ffcf0b526f8c4a909fd915ad78
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=46fbc872881081ffcf0b526f8c4a909fd915ad78

Author: Brian Paul <brianp at vmware.com>
Date:   Fri Aug 21 13:45:16 2009 -0600

softpipe: remove unneeded const qualifier

---

 src/gallium/drivers/softpipe/sp_state_fs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/softpipe/sp_state_fs.c b/src/gallium/drivers/softpipe/sp_state_fs.c
index 3a45321..a055d62 100644
--- a/src/gallium/drivers/softpipe/sp_state_fs.c
+++ b/src/gallium/drivers/softpipe/sp_state_fs.c
@@ -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));




More information about the mesa-commit mailing list