Module: Mesa Branch: master Commit: e3a7cb4a6c94efe250c0212f062930e2026a861d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e3a7cb4a6c94efe250c0212f062930e2026a861d
Author: Brian Paul <[email protected]> Date: Thu Aug 25 10:06:29 2011 -0600 softpipe: add const qualifier to silence warnings --- src/gallium/drivers/softpipe/sp_tex_sample.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers/softpipe/sp_tex_sample.c b/src/gallium/drivers/softpipe/sp_tex_sample.c index 76ec2f4..89c6536 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 */ _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
