summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_tex_sample.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-11-28 10:28:44 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-12-01 18:36:56 -0700
commitdd55083ac1c13723dba6be71f161e2ca7cac7c66 (patch)
tree660d5ef978e049575837b49e38d38a6f2efd7d3b /src/gallium/drivers/softpipe/sp_tex_sample.h
parentdbcfc0dcde4eee248812881d32b134fd733212d2 (diff)
gallium: minor texture-related clean-ups, comments, etc
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_tex_sample.h')
-rw-r--r--src/gallium/drivers/softpipe/sp_tex_sample.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/softpipe/sp_tex_sample.h b/src/gallium/drivers/softpipe/sp_tex_sample.h
index 783169c939..f0a8a78778 100644
--- a/src/gallium/drivers/softpipe/sp_tex_sample.h
+++ b/src/gallium/drivers/softpipe/sp_tex_sample.h
@@ -46,10 +46,10 @@ struct sp_shader_sampler
-static INLINE struct sp_shader_sampler *
-sp_shader_sampler(struct tgsi_sampler *sampler)
+static INLINE const struct sp_shader_sampler *
+sp_shader_sampler(const struct tgsi_sampler *sampler)
{
- return (struct sp_shader_sampler *) sampler;
+ return (const struct sp_shader_sampler *) sampler;
}