diff options
Diffstat (limited to 'src')
-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 */ |