Fix rendering when Iris isn't installed

This commit is contained in:
James Seibel
2025-11-16 16:11:40 -06:00
parent ca3f5da5de
commit ff7abb6a18
@@ -246,7 +246,7 @@ public class LodRenderer
if (Config.Client.Advanced.Graphics.Quality.dhFadeFarClipPlane.get()
// the fade shader messes with the GL state in a way Iris doesn't like,
// so skip it if a shader is active
&& !IRIS_ACCESSOR.isShaderPackInUse())
&& (IRIS_ACCESSOR == null || !IRIS_ACCESSOR.isShaderPackInUse()))
{
profiler.popPush("Fade Far Clip Fade");
DhFadeRenderer.INSTANCE.render(