diff options
author | Christoff Brill <[email protected]> | 2007-05-17 17:18:13 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-05-17 17:18:13 -0600 |
commit | 8452814ec6f536fc4177e6c34ff5b8b6d3102a3a (patch) | |
tree | eb1e1c1af26e6ab127b0b1a1921d77c36d778d9a /src/mesa/drivers/dri/r200 | |
parent | 63155ca2ca9fc935022a083278645bcf6d1ad3dc (diff) |
change max anisotropy test
Diffstat (limited to 'src/mesa/drivers/dri/r200')
-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 90166f197fe..e7a37dd4c99 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; |