projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f3de17
)
softpipe: add const qualifier to silence warnings
author
Brian Paul
<brianp@vmware.com>
Thu, 25 Aug 2011 16:06:29 +0000
(10:06 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 25 Aug 2011 16:08:15 +0000
(10:08 -0600)
src/gallium/drivers/softpipe/sp_tex_sample.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/softpipe/sp_tex_sample.c
b/src/gallium/drivers/softpipe/sp_tex_sample.c
index 76ec2f4512679b932a2605aad37c0845a03705fa..89c6536b1f475d3a6b34d36bf50b93bc27f36d31 100644
(file)
--- 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 */