fix: improve gradient handling

This commit is contained in:
Martin Prokoph
2025-04-19 09:58:54 +02:00
parent 552f1e619e
commit 528958fa8c
3 changed files with 16 additions and 11 deletions

View File

@@ -24,6 +24,6 @@ public class MixinHandledScreen extends Screen {
}
@Inject(at = @At("HEAD"), method = "render")
public void blur$processScreenChange(DrawContext context, int mouseX, int mouseY, float delta, CallbackInfo ci) {
if (PlatformFunctions.getPlatformName().equals("neoforge")) Blur.onRender(context, width, height, this.client, delta);
if (PlatformFunctions.getPlatformName().equals("neoforge")) Blur.onRender();
}
}