Fix rendering when Iris isn't installed
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user