diff options
author | Christoff Brill <egore@gmx.de> | 2007-05-17 17:18:13 -0600 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2007-05-17 17:18:13 -0600 |
commit | 8452814ec6f536fc4177e6c34ff5b8b6d3102a3a (patch) | |
tree | eb1e1c1af26e6ab127b0b1a1921d77c36d778d9a /src | |
parent | 63155ca2ca9fc935022a083278645bcf6d1ad3dc (diff) |
change max anisotropy test
Diffstat (limited to 'src')
-rw-r--r-- | 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 90166f197f..e7a37dd4c9 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; |