diff options
author | Brian Paul <[email protected]> | 2011-08-25 10:06:29 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-08-25 10:08:15 -0600 |
commit | e3a7cb4a6c94efe250c0212f062930e2026a861d (patch) | |
tree | c958c9bccdd63ee487531bd333cf9893d2b2a7cc /src/gallium/drivers | |
parent | 5f3de17ef0f8b6280a6bf331ea6686a260f0d0d4 (diff) |
softpipe: add const qualifier to silence warnings
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | 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 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 */ |