Skip to content

Commit db3df52

Browse files
Make OpenGL version configurable
1 parent b33bded commit db3df52

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ project(':cleanroom') {
417417

418418
dependencies {
419419
compileOnly "com.cleanroommc:lwjglx:1.0.0"
420-
installer "com.cleanroommc:lwjglxx:1.0.9"
420+
installer "com.cleanroommc:lwjglxx:1.0.10"
421421
lwjglLibraries[0].each {
422422
installer "org.lwjgl:$it:$props.lwjgl_version"
423423
runtimeOnly "org.lwjgl:$it::$lwjglArch"

src/main/java/net/minecraftforge/common/ForgeEarlyConfig.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ public class ForgeEarlyConfig {
1414
public static boolean WINDOW_START_FOCUSED = true;
1515
public static boolean WINDOW_START_ICONIFIED = false;
1616

17+
public static int GL_VERSION_MAJOR = 2;
18+
public static int GL_VERSION_MINOR = 1;
19+
1720
public static boolean WINDOW_CENTERED = true;
1821

1922
@Config.Comment("Should the window have decorations (titlebar, border, close button)")

0 commit comments

Comments
 (0)