>From 44c45c2d03992b76485556e96bffa53f27f4888c Mon Sep 17 00:00:00 2001
From: Christoph Brill <egore911@egore911.de>
Date: Thu, 17 May 2007 09:58:41 +0200
Subject: [PATCH] r200: set anisotropy filtering to 1 instead of 16 for values less than 1

---
 src/mesa/drivers/dri/r200/r200_tex.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/r200/r200_tex.c b/src/mesa/drivers/dri/r200/r200_tex.c
index 90166f1..e7a37dd 100644
--- a/src/mesa/drivers/dri/r200/r200_tex.c
+++ b/src/mesa/drivers/dri/r200/r200_tex.c
@@ -181,7 +181,7 @@ static void r200SetTexMaxAnisotropy( r200TexObjPtr t, GLfloat max )
 {
    t->pp_txfilter &= ~R200_MAX_ANISO_MASK;
 
-   if ( max == 1.0 ) {
+   if ( max <= 1.0 ) {
       t->pp_txfilter |= R200_MAX_ANISO_1_TO_1;
    } else if ( max <= 2.0 ) {
       t->pp_txfilter |= R200_MAX_ANISO_2_TO_1;
-- 
1.5.1.4

