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:
kamgha 2024-01-03 04:30:48 +01:00 committed by rdb
parent 7277199d6e
commit 25b85041d5

View File

@ -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);