From: Brian Paul Date: Thu, 25 Aug 2011 16:06:29 +0000 (-0600) Subject: softpipe: add const qualifier to silence warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e3a7cb4a6c94efe250c0212f062930e2026a861d;p=mesa.git softpipe: add const qualifier to silence warnings --- 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 */