gallivm: restore const qualifier
authorBrian Paul <brianp@vmware.com>
Wed, 7 Jul 2010 23:36:43 +0000 (17:36 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 7 Jul 2010 23:36:43 +0000 (17:36 -0600)
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c

index 0e24ecff6a9cbf22696aac097a66ccbf6ce7bd57..1a20d74cac8b5295487054f3e083adcb182be883 100644 (file)
@@ -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);