softpipe: add const qualifier to silence warnings

This commit is contained in:
Brian Paul 2011-08-25 10:06:29 -06:00
parent 5f3de17ef0
commit e3a7cb4a6c

View file

@ -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 */