diff options
author | isxander <xander@isxander.dev> | 2024-04-11 18:43:06 +0100 |
---|---|---|
committer | isxander <xander@isxander.dev> | 2024-04-11 18:43:06 +0100 |
commit | 04fe933f4c24817100f3101f088accf55a621f8a (patch) | |
tree | feff94ca3ab4484160e69a24f4ee38522381950e /common/src/main/java/dev/isxander/yacl3/debug/DebugProperties.java | |
parent | 831b894fdb7fe3e173d81387c8f6a2402b8ccfa9 (diff) | |
download | YetAnotherConfigLib-04fe933f4c24817100f3101f088accf55a621f8a.tar.gz YetAnotherConfigLib-04fe933f4c24817100f3101f088accf55a621f8a.tar.bz2 YetAnotherConfigLib-04fe933f4c24817100f3101f088accf55a621f8a.zip |
Extremely fragile and broken multiversion build with stonecutter
Diffstat (limited to 'common/src/main/java/dev/isxander/yacl3/debug/DebugProperties.java')
-rw-r--r-- | common/src/main/java/dev/isxander/yacl3/debug/DebugProperties.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/common/src/main/java/dev/isxander/yacl3/debug/DebugProperties.java b/common/src/main/java/dev/isxander/yacl3/debug/DebugProperties.java deleted file mode 100644 index 8d93bcd..0000000 --- a/common/src/main/java/dev/isxander/yacl3/debug/DebugProperties.java +++ /dev/null @@ -1,13 +0,0 @@ -package dev.isxander.yacl3.debug; - -import dev.isxander.yacl3.platform.YACLPlatform; - -public final class DebugProperties { - /** Applies GL filtering to rendering images. */ - public static final boolean IMAGE_FILTERING = boolProp("imageFiltering", false, false); - - private static boolean boolProp(String name, boolean defProd, boolean defDebug) { - boolean defaultValue = YACLPlatform.isDevelopmentEnv() ? defDebug : defProd; - return Boolean.parseBoolean(System.getProperty("yacl3.debug." + name, Boolean.toString(defaultValue))); - } -} |