-
-
Notifications
You must be signed in to change notification settings - Fork 641
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
9 changes: 5 additions & 4 deletions
9
common/src/main/java/net/irisshaders/iris/compat/sodium/mixin/CloudRendererAccessor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
package net.irisshaders.iris.compat.sodium.mixin; | ||
|
||
import net.caffeinemc.mods.sodium.client.render.immediate.CloudRenderer; | ||
import net.minecraft.client.renderer.ShaderProgram; | ||
import org.spongepowered.asm.mixin.Mixin; | ||
import org.spongepowered.asm.mixin.gen.Accessor; | ||
|
||
// TODO: 1.21.2 | ||
@Mixin(CloudRenderer.class) | ||
public interface CloudRendererAccessor { | ||
//@Accessor | ||
//static ShaderProgram getCLOUDS_SHADER() { | ||
// throw new IllegalStateException(); | ||
//} | ||
@Accessor | ||
static ShaderProgram getCLOUDS_SHADER() { | ||
throw new IllegalStateException(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters