r300g: max_anisotropy of 1 is not anisotropic filtering
authorMarek Olšák <maraeo@gmail.com>
Sat, 11 Jun 2011 21:01:36 +0000 (23:01 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sat, 11 Jun 2011 21:03:20 +0000 (23:03 +0200)
src/gallium/drivers/r300/r300_state.c

index 7127ea1ac16b2641ecb50b89c08630fe24e50f3a..057cd9faf0362a93278c4667c72b9b2214362c85 100644 (file)
@@ -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);