From: Brian Paul Date: Fri, 21 Aug 2009 17:41:29 +0000 (-0600) Subject: softpipe: fix min/mag filter typo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=41483627f0fd3dc9df2cc55dfd5f3e5987fcfd22;p=mesa.git softpipe: fix min/mag filter typo --- diff --git a/src/gallium/drivers/softpipe/sp_tex_sample.c b/src/gallium/drivers/softpipe/sp_tex_sample.c index a6267311052..9502b60479d 100644 --- a/src/gallium/drivers/softpipe/sp_tex_sample.c +++ b/src/gallium/drivers/softpipe/sp_tex_sample.c @@ -1597,7 +1597,7 @@ sp_create_sampler_varient( const struct pipe_sampler_state *sampler, samp->compute_lambda = get_lambda_func( key ); samp->min_img_filter = get_img_filter(key, sampler->min_img_filter, sampler); - samp->mag_img_filter = get_img_filter(key, sampler->min_img_filter, sampler); + samp->mag_img_filter = get_img_filter(key, sampler->mag_img_filter, sampler); switch (sampler->min_mip_filter) { case PIPE_TEX_MIPFILTER_NONE: