projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63155ca
)
change max anisotropy test
author
Christoff Brill
<egore@gmx.de>
Thu, 17 May 2007 23:18:13 +0000
(17:18 -0600)
committer
Brian
<brian@yutani.localnet.net>
Thu, 17 May 2007 23:18:13 +0000
(17:18 -0600)
src/mesa/drivers/dri/r200/r200_tex.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r200/r200_tex.c
b/src/mesa/drivers/dri/r200/r200_tex.c
index 90166f197feea76d0fac75742fd6e2fbdcee0a90..e7a37dd4c99d4d682b24397b30f306b65996aa4a 100644
(file)
--- 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;