summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-06-11 23:01:36 +0200
committerMarek Olšák <[email protected]>2011-06-11 23:03:20 +0200
commit837dc6101120a90f7a8d29ea45cf8e849a3542c2 (patch)
tree1bfb09c37154491c0b176ea820f5e05d38b7c0d9
parent219150433a305b0e0b6093647758eed3a7650bc4 (diff)
r300g: max_anisotropy of 1 is not anisotropic filtering
-rw-r--r--src/gallium/drivers/r300/r300_state.c2
1 files changed, 1 insertions, 1 deletions
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);