summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-08-21 11:41:29 -0600
committerBrian Paul <[email protected]>2009-08-21 11:41:29 -0600
commit41483627f0fd3dc9df2cc55dfd5f3e5987fcfd22 (patch)
tree844d09f5fc0565990030c485baf32ad203232956
parent4e5c385d2183e7006c9d7ac0823919156bd4b8e6 (diff)
softpipe: fix min/mag filter typo
-rw-r--r--src/gallium/drivers/softpipe/sp_tex_sample.c2
1 files changed, 1 insertions, 1 deletions
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: