fix aniso

This commit is contained in:
cxgeorge 2002-08-23 23:29:05 +00:00
parent a277fae26d
commit 4640563259
2 changed files with 2 additions and 2 deletions

View File

@ -334,7 +334,7 @@ post_txa_file() {
_properties._magfilter = _request._magfilter;
}
_properties._anisotropic_degree = max(_request._anisotropic_degree, _properties._anisotropic_degree);
_properties._anisotropic_degree = _request._anisotropic_degree;
if (_properties._color_type == (PNMFileType *)NULL) {
_properties._color_type = _request._properties._color_type;

View File

@ -188,7 +188,7 @@ update_properties(const TextureProperties &other) {
_minfilter = union_filter(_minfilter, other._minfilter);
_magfilter = union_filter(_magfilter, other._magfilter);
_anisotropic_degree = max(_anisotropic_degree, other._anisotropic_degree);
_anisotropic_degree = other._anisotropic_degree;
printf("set aniso degree to %d\n",_anisotropic_degree);
if (_color_type == (PNMFileType *)NULL) {