diff --git a/src/main/java/net/coderbot/iris/compat/dh/IrisLodRenderProgram.java b/src/main/java/net/coderbot/iris/compat/dh/IrisLodRenderProgram.java index 28122952ea..eba7834f3d 100644 --- a/src/main/java/net/coderbot/iris/compat/dh/IrisLodRenderProgram.java +++ b/src/main/java/net/coderbot/iris/compat/dh/IrisLodRenderProgram.java @@ -128,7 +128,7 @@ private IrisLodRenderProgram(String name, boolean isShadowPass, BlendModeOverrid } GlShader geom = null; - if (tessControl != null) { + if (geometry != null) { geom = new GlShader(ShaderType.GEOMETRY, name + ".gsh", geometry); GL43C.glAttachShader(id, geom.getHandle()); }