aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/neodymium/mixin
diff options
context:
space:
mode:
authorFalsePattern <me@falsepattern.com>2024-01-07 20:43:47 +0000
committermakamys <makamys@outlook.com>2024-01-08 22:49:40 +0100
commite0252b3d4b790503038c2433f02a7c6c1f0f8b81 (patch)
tree21f952b906801d7ee0ab95a58f8876bbe32bf12d /src/main/java/makamys/neodymium/mixin
parent3ee0c611c0d1e9cb8f74182c1dd672dda9cb36b5 (diff)
downloadNeodymium-e0252b3d4b790503038c2433f02a7c6c1f0f8b81.tar.gz
Neodymium-e0252b3d4b790503038c2433f02a7c6c1f0f8b81.tar.bz2
Neodymium-e0252b3d4b790503038c2433f02a7c6c1f0f8b81.zip
cleanup run
Co-authored-by: Ven <tudurap.com@gmail.com>
Diffstat (limited to 'src/main/java/makamys/neodymium/mixin')
-rw-r--r--src/main/java/makamys/neodymium/mixin/MixinWorldRenderer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/makamys/neodymium/mixin/MixinWorldRenderer.java b/src/main/java/makamys/neodymium/mixin/MixinWorldRenderer.java
index 4daa525..16c4ea6 100644
--- a/src/main/java/makamys/neodymium/mixin/MixinWorldRenderer.java
+++ b/src/main/java/makamys/neodymium/mixin/MixinWorldRenderer.java
@@ -194,7 +194,7 @@ abstract class MixinWorldRenderer implements IWorldRenderer {
public boolean isDrawn() {
if (!(skipRenderPass[0] && skipRenderPass[1]))
return true;
- if (!Compat.isShaders())
+ if (!Compat.isOptiFineShadersEnabled())
return isInFrustum;
return true;
}