From: Christoff Brill Date: Thu, 17 May 2007 23:18:13 +0000 (-0600) Subject: change max anisotropy test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8452814ec6f536fc4177e6c34ff5b8b6d3102a3a;p=mesa.git change max anisotropy test --- 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;