Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix macOS blur issue #5586

Merged
merged 2 commits into from
Feb 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ import net.ccbluex.liquidbounce.utils.client.chat
import net.ccbluex.liquidbounce.utils.client.inGame
import net.ccbluex.liquidbounce.utils.client.markAsError
import net.ccbluex.liquidbounce.utils.entity.RenderedEntities
import net.minecraft.client.MinecraftClient
import net.minecraft.client.gui.screen.DisconnectedScreen

/**
Expand Down Expand Up @@ -67,10 +66,7 @@ object ModuleHud : ClientModule("HUD", Category.RENDER, state = true, hide = tru
}

val isBlurable
get() = blur && !(mc.options.hudHidden && mc.currentScreen == null) &&
// Only blur on Windows and Linux - Mac seems to have issues with it
// TODO: fix blur on macOS
!MinecraftClient.IS_SYSTEM_MAC
get() = blur && !(mc.options.hudHidden && mc.currentScreen == null)

init {
tree(Configurable("In-built", components as MutableList<Value<*>>))
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/resources/liquidbounce/shaders/sobel.vert
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#version 150
#version 410 core

in vec4 Position;
in vec2 UV0;
layout (location = 0) in vec4 Position;
layout (location = 1) in vec2 UV0;

out vec2 fragTexCoord;

Expand Down
Loading