diff options
author | Brian Paul <brianp@vmware.com> | 2010-07-07 17:36:43 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-07-07 17:36:43 -0600 |
commit | d95b40759e82b11bd4b458ec9e44eb6234da1849 (patch) | |
tree | f928a0330c3a68cab59ee1ad0ab809026f028023 | |
parent | b17fba92dbee3a91c7854cb2935fa1e6be81982d (diff) |
gallivm: restore const qualifier
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c | 2 |
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 0e24ecff6a..1a20d74cac 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); |