mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
change max anisotropy test
This commit is contained in:
parent
63155ca2ca
commit
8452814ec6
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue