From 1349e00dfa058707aa5cba08820e89eb3dc96b00 Mon Sep 17 00:00:00 2001 From: BianXiao <137746769+mcbianxiao@users.noreply.github.com> Date: Tue, 17 Sep 2024 23:17:23 +0800 Subject: [PATCH] Update PostLaunchChecks.java --- .../client/compatibility/checks/PostLaunchChecks.java | 8 ++++++++ 1 file changed, 8 insertions(+) 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 90fe466180..4615e65680 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 @@ -16,6 +16,14 @@ import net.minecraft.util.Util; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import net.fabricmc.api.ClientModInitializer; +import net.fabricmc.api.EnvType; +import net.fabricmc.api.Environment; +import net.fabricmc.fabric.api.client.rendering.v1.HudRenderCallback; +import net.fabricmc.loader.api.FabricLoader; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + /** * Performs OpenGL driver validation after the game creates an OpenGL context. This runs immediately after OpenGL * context creation, and uses the implementation details of the OpenGL context to perform validation.