mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
softpipe: add const qualifier to silence warnings
This commit is contained in:
parent
5f3de17ef0
commit
e3a7cb4a6c
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue