diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-11-28 10:28:44 -0700 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-12-01 18:36:56 -0700 |
commit | dd55083ac1c13723dba6be71f161e2ca7cac7c66 (patch) | |
tree | 660d5ef978e049575837b49e38d38a6f2efd7d3b /src/gallium/drivers/softpipe/sp_tex_sample.h | |
parent | dbcfc0dcde4eee248812881d32b134fd733212d2 (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.h | 6 |
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; } |