mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 07:03:36 -04:00
egg-palettize: fix writing Magfilter
Fixes a typo that applied the value from the Minfilter to the entry of the Magfilter. Closes #1585
This commit is contained in:
parent
7277199d6e
commit
25b85041d5
@ -93,7 +93,7 @@ post_load(Texture *tex) {
|
||||
egg_tex->set_alpha_mode(tex_image.get_alpha_mode());
|
||||
egg_tex->set_format(props._format);
|
||||
egg_tex->set_minfilter(props._minfilter);
|
||||
egg_tex->set_minfilter(props._magfilter);
|
||||
egg_tex->set_magfilter(props._magfilter);
|
||||
egg_tex->set_anisotropic_degree(props._anisotropic_degree);
|
||||
|
||||
tex->set_aux_data("egg", egg_tex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user