softpipe: fix min/mag filter typo
authorBrian Paul <brianp@vmware.com>
Fri, 21 Aug 2009 17:41:29 +0000 (11:41 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 21 Aug 2009 17:41:29 +0000 (11:41 -0600)
src/gallium/drivers/softpipe/sp_tex_sample.c

index a626731105244edc7ffd60fe9401cfa3ec00b87f..9502b60479df7e1ba5057dd5dbaef7f6ebb8cd49 100644 (file)
@@ -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: