From: Marek Olšák Date: Sat, 11 Jun 2011 21:01:36 +0000 (+0200) Subject: r300g: max_anisotropy of 1 is not anisotropic filtering X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=837dc6101120a90f7a8d29ea45cf8e849a3542c2;p=mesa.git r300g: max_anisotropy of 1 is not anisotropic filtering --- diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index 7127ea1ac16..057cd9faf03 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -1307,7 +1307,7 @@ static void* sampler->filter0 |= r300_translate_tex_filters(state->min_img_filter, state->mag_img_filter, state->min_mip_filter, - state->max_anisotropy > 0); + state->max_anisotropy > 1); sampler->filter0 |= r300_anisotropy(state->max_anisotropy);