Mesa (softpipe-opt): softpipe: fix min/mag filter typo
Brian Paul
brianp at kemper.freedesktop.org
Fri Aug 21 17:41:58 UTC 2009
Module: Mesa
Branch: softpipe-opt
Commit: 41483627f0fd3dc9df2cc55dfd5f3e5987fcfd22
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=41483627f0fd3dc9df2cc55dfd5f3e5987fcfd22
Author: Brian Paul <brianp at vmware.com>
Date: Fri Aug 21 11:41:29 2009 -0600
softpipe: fix min/mag filter typo
---
src/gallium/drivers/softpipe/sp_tex_sample.c | 2 +-
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 a626731..9502b60 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:
More information about the mesa-commit
mailing list