fix aniso
This commit is contained in:
parent
a277fae26d
commit
4640563259
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue