mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
fix aniso prob
This commit is contained in:
parent
beb4fdfb5e
commit
a277fae26d
@ -187,7 +187,9 @@ update_properties(const TextureProperties &other) {
|
|||||||
|
|
||||||
_minfilter = union_filter(_minfilter, other._minfilter);
|
_minfilter = union_filter(_minfilter, other._minfilter);
|
||||||
_magfilter = union_filter(_magfilter, other._magfilter);
|
_magfilter = union_filter(_magfilter, other._magfilter);
|
||||||
|
|
||||||
_anisotropic_degree = max(_anisotropic_degree, other._anisotropic_degree);
|
_anisotropic_degree = max(_anisotropic_degree, other._anisotropic_degree);
|
||||||
|
printf("set aniso degree to %d\n",_anisotropic_degree);
|
||||||
|
|
||||||
if (_color_type == (PNMFileType *)NULL) {
|
if (_color_type == (PNMFileType *)NULL) {
|
||||||
_color_type = other._color_type;
|
_color_type = other._color_type;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user