From 93739710673d0074292dfe3bdeb8d9f28ad2b976 Mon Sep 17 00:00:00 2001 From: BianXiao <137746769+mcbianxiao@users.noreply.github.com> Date: Tue, 17 Sep 2024 23:12:26 +0800 Subject: [PATCH] Update PostLaunchChecks.java --- .../compatibility/checks/PostLaunchChecks.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/jellysquid/mods/sodium/client/compatibility/checks/PostLaunchChecks.java b/src/main/java/me/jellysquid/mods/sodium/client/compatibility/checks/PostLaunchChecks.java index c593033f2e..16ce8662f5 100644 --- a/src/main/java/me/jellysquid/mods/sodium/client/compatibility/checks/PostLaunchChecks.java +++ b/src/main/java/me/jellysquid/mods/sodium/client/compatibility/checks/PostLaunchChecks.java @@ -3,9 +3,17 @@ import me.jellysquid.mods.sodium.client.SodiumClientMod; import me.jellysquid.mods.sodium.client.gui.console.Console; import me.jellysquid.mods.sodium.client.gui.console.message.MessageLevel; +import net.minecraft.client.font.MultilineText; +import net.minecraft.client.gui.screen.Screen; +import net.minecraft.client.gui.screen.ScreenTexts; +import net.minecraft.client.gui.widget.ButtonWidget; +import net.minecraft.client.gui.widget.CheckboxWidget; +import net.minecraft.client.util.math.MatrixStack; +import net.minecraft.text.LiteralText; import net.minecraft.text.Text; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; +import net.minecraft.text.TranslatableText; +import net.minecraft.util.Formatting; +import net.minecraft.util.Util; /** * Performs OpenGL driver validation after the game creates an OpenGL context. This runs immediately after OpenGL