diff options
author | José Fonseca <[email protected]> | 2008-09-19 10:20:10 +0900 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-09-19 10:21:52 +0900 |
commit | 5f88d871ea051e0c89bbbfc832a565fc8de70c6a (patch) | |
tree | aa4a5e327f376b7dd50296520c88265679f1b32b /src | |
parent | 4485ac87c2cf69bef443ac36cccaa70054c6a7bb (diff) |
softpipe: Obey const qualifier.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_fs_exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/softpipe/sp_fs_exec.c b/src/gallium/drivers/softpipe/sp_fs_exec.c index ffc0c5e578e..4fea71c3140 100644 --- a/src/gallium/drivers/softpipe/sp_fs_exec.c +++ b/src/gallium/drivers/softpipe/sp_fs_exec.c @@ -42,13 +42,13 @@ struct sp_exec_fragment_shader { struct sp_fragment_shader base; - struct tgsi_token *machine_tokens; + const struct tgsi_token *machine_tokens; }; /** cast wrapper */ static INLINE struct sp_exec_fragment_shader * -sp_exec_fragment_shader(struct sp_fragment_shader *base) +sp_exec_fragment_shader(const struct sp_fragment_shader *base) { return (struct sp_exec_fragment_shader *) base; } |