From dd40c5c4b5ad6e4ff03d60892c2498dff708e003 Mon Sep 17 00:00:00 2001 From: FalsePattern Date: Fri, 1 Dec 2023 23:34:25 +0100 Subject: RPLE compat --- src/main/java/makamys/neodymium/Compat.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/main/java/makamys/neodymium/Compat.java') 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() { -- cgit