From e3a7cb4a6c94efe250c0212f062930e2026a861d Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 25 Aug 2011 10:06:29 -0600 Subject: softpipe: add const qualifier to silence warnings --- src/gallium/drivers/softpipe/sp_tex_sample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium') diff --git a/src/gallium/drivers/softpipe/sp_tex_sample.c b/src/gallium/drivers/softpipe/sp_tex_sample.c index 76ec2f45126..89c6536b1f4 100644 --- a/src/gallium/drivers/softpipe/sp_tex_sample.c +++ b/src/gallium/drivers/softpipe/sp_tex_sample.c @@ -2620,7 +2620,7 @@ sample_get_texels(struct tgsi_sampler *tgsi_sampler, union tex_tile_address addr; const struct pipe_resource *texture = samp->view->texture; int j, c; - float *tx; + const float *tx; addr.value = 0; /* TODO write a better test for LOD */ -- cgit v1.2.3