From 5f88d871ea051e0c89bbbfc832a565fc8de70c6a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Fri, 19 Sep 2008 10:20:10 +0900 Subject: [PATCH] softpipe: Obey const qualifier. --- src/gallium/drivers/softpipe/sp_fs_exec.c | 4 ++-- 1 file 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; } -- 2.30.2