From: Brian Paul Date: Wed, 7 Jul 2010 23:36:43 +0000 (-0600) Subject: gallivm: restore const qualifier X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d95b40759e82b11bd4b458ec9e44eb6234da1849;p=mesa.git gallivm: restore const qualifier --- 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);