-
Notifications
You must be signed in to change notification settings - Fork 832
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Back-port software workarounds from Sodium 0.6.9
- Loading branch information
1 parent
3a8ea43
commit 608a5d0
Showing
50 changed files
with
970 additions
and
525 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 4 additions & 5 deletions
9
src/main/java/me/jellysquid/mods/sodium/client/SodiumPreLaunch.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
package me.jellysquid.mods.sodium.client; | ||
|
||
import me.jellysquid.mods.sodium.client.compatibility.checks.PreLaunchChecks; | ||
import me.jellysquid.mods.sodium.client.compatibility.workarounds.Workarounds; | ||
import me.jellysquid.mods.sodium.client.compatibility.environment.probe.GraphicsAdapterProbe; | ||
import net.caffeinemc.mods.sodium.client.compatibility.checks.PreLaunchChecks; | ||
import net.caffeinemc.mods.sodium.client.compatibility.environment.probe.GraphicsAdapterProbe; | ||
import net.caffeinemc.mods.sodium.client.compatibility.workarounds.Workarounds; | ||
import net.fabricmc.loader.api.entrypoint.PreLaunchEntrypoint; | ||
|
||
public class SodiumPreLaunch implements PreLaunchEntrypoint { | ||
@Override | ||
public void onPreLaunch() { | ||
PreLaunchChecks.beforeLWJGLInit(); | ||
PreLaunchChecks.checkEnvironment(); | ||
GraphicsAdapterProbe.findAdapters(); | ||
PreLaunchChecks.onGameInit(); | ||
Workarounds.init(); | ||
} | ||
} |
26 changes: 0 additions & 26 deletions
26
src/main/java/me/jellysquid/mods/sodium/client/compatibility/checks/BugChecks.java
This file was deleted.
Oops, something went wrong.
169 changes: 0 additions & 169 deletions
169
src/main/java/me/jellysquid/mods/sodium/client/compatibility/checks/PreLaunchChecks.java
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
src/main/java/me/jellysquid/mods/sodium/client/compatibility/environment/GLContextInfo.java
This file was deleted.
Oops, something went wrong.
51 changes: 0 additions & 51 deletions
51
.../jellysquid/mods/sodium/client/compatibility/environment/probe/GraphicsAdapterVendor.java
This file was deleted.
Oops, something went wrong.
49 changes: 0 additions & 49 deletions
49
.../me/jellysquid/mods/sodium/client/compatibility/workarounds/nvidia/NvidiaWorkarounds.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.