We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21f3237 commit 6be6fb7Copy full SHA for 6be6fb7
src/client/tile.cpp
@@ -1777,7 +1777,8 @@ bool TextureSource::generateImagePart(std::string part_of_name,
1777
* mix high- and low-res textures, or for mods with least-common-denominator
1778
* textures that don't have the resources to offer high-res alternatives.
1779
*/
1780
- s32 scaleto = g_settings->getS32("texture_min_size");
+ const bool filter = m_setting_trilinear_filter || m_setting_bilinear_filter;
1781
+ const s32 scaleto = filter ? g_settings->getS32("texture_min_size") : 1;
1782
if (scaleto > 1) {
1783
const core::dimension2d<u32> dim = baseimg->getDimension();
1784
0 commit comments