Skip to content

Commit

Permalink
Quiet warning about mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
spiralhalo committed May 27, 2023
1 parent 57a9fa6 commit 9a9c41b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/grondag/canvas/mixin/MixinFogRenderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

@Mixin(FogRenderer.class)
public class MixinFogRenderer {
@Redirect(method = "setupColor", at = @At(value = "INVOKE", target = "Lcom/mojang/blaze3d/systems/RenderSystem;clearColor(FFFF)V"), require = 1)
@Redirect(method = "setupColor", at = @At(value = "INVOKE", target = "Lcom/mojang/blaze3d/systems/RenderSystem;clearColor(FFFF)V", remap = false), require = 1)
private static void onClearColor(float r, float g, float b, float a) {
ShaderDataManager.captureClearColor(r, g, b);
RenderSystem.clearColor(r, g, b, a);
Expand Down

0 comments on commit 9a9c41b

Please sign in to comment.