summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-07-07 17:36:43 -0600
committerBrian Paul <[email protected]>2010-07-07 17:36:43 -0600
commitd95b40759e82b11bd4b458ec9e44eb6234da1849 (patch)
treef928a0330c3a68cab59ee1ad0ab809026f028023 /src/gallium/auxiliary/gallivm
parentb17fba92dbee3a91c7854cb2935fa1e6be81982d (diff)
gallivm: restore const qualifier
Diffstat (limited to 'src/gallium/auxiliary/gallivm')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c
index 0e24ecff6a9..1a20d74cac8 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c
@@ -1522,7 +1522,7 @@ lp_build_sample_general(struct lp_build_sample_context *bld,
LLVMValueRef *colors_out)
{
struct lp_build_context *float_bld = &bld->float_bld;
- /*const*/ unsigned mip_filter = bld->static_state->min_mip_filter;
+ const unsigned mip_filter = bld->static_state->min_mip_filter;
const unsigned min_filter = bld->static_state->min_img_filter;
const unsigned mag_filter = bld->static_state->mag_img_filter;
const int dims = texture_dims(bld->static_state->target);