aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/neodymium/Compat.java
diff options
context:
space:
mode:
authorFalsePattern <me@falsepattern.com>2023-12-01 23:34:25 +0100
committermakamys <makamys@outlook.com>2023-12-02 14:51:33 +0100
commitdd40c5c4b5ad6e4ff03d60892c2498dff708e003 (patch)
tree8d7e358f21cd239d68b53e062aff807ddf846dc4 /src/main/java/makamys/neodymium/Compat.java
parent7534096b6f027fd51016618f8862f8dc8b673b5c (diff)
downloadNeodymium-dd40c5c4b5ad6e4ff03d60892c2498dff708e003.tar.gz
Neodymium-dd40c5c4b5ad6e4ff03d60892c2498dff708e003.tar.bz2
Neodymium-dd40c5c4b5ad6e4ff03d60892c2498dff708e003.zip
RPLE compat
Diffstat (limited to 'src/main/java/makamys/neodymium/Compat.java')
-rw-r--r--src/main/java/makamys/neodymium/Compat.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/makamys/neodymium/Compat.java b/src/main/java/makamys/neodymium/Compat.java
index 2d39d2f..8af4319 100644
--- a/src/main/java/makamys/neodymium/Compat.java
+++ b/src/main/java/makamys/neodymium/Compat.java
@@ -25,6 +25,8 @@ public class Compat {
private static boolean wasAdvancedOpenGLEnabled;
private static int notEnoughVRAMAmountMB = -1;
+
+ private static boolean RPLE;
public static void init() {
isGL33Supported = GLContext.getCapabilities().OpenGL33;
@@ -32,6 +34,14 @@ public class Compat {
if (Loader.isModLoaded("triangulator")) {
disableTriangulator();
}
+
+ if (Loader.isModLoaded("rple")) {
+ RPLE = true;
+ }
+ }
+
+ public static boolean RPLE() {
+ return RPLE;
}
private static void disableTriangulator() {