Allow mipmap lowering to be disabled (#10242)

This commit is contained in:
Jonathing authored and GitHub committed 2024-12-23 11:46:59 -08:00
1 parent d7293a78dc
commit d4e3ef4a22
3 files changed
+14 -1

No files matched your search

@@ -5,7 +5,7 @@
int k1 = Mth.log2(j1);
int l1;
- if (k1 < p_261919_) {
+ if (false) { // Forge: Do not lower the mipmap level
+ if (k1 < p_261919_ && net.minecraftforge.common.ForgeConfig.CLIENT.allowMipmapLowering()) { // Forge: Do not lower the mipmap level
LOGGER.warn("{}: dropping miplevel from {} to {}, because of minimum power of two: {}", this.location, p_261919_, k1, j1);
l1 = k1;
} else {