aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/neodymium/Compat.java
diff options
context:
space:
mode:
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() {