Fixed GL version arg parsing

This commit is contained in:
Anuken
2025-08-30 01:46:08 -04:00
parent bfe6ddf9fa
commit df36007728

View File

@@ -54,12 +54,9 @@ public class DesktopLauncher extends ClientLauncher{
case "height" -> height = Strings.parseInt(arg[i + 1], height);
case "glMajor" -> {
gl30Major = Strings.parseInt(arg[i + 1], gl30Major);
gl30Minor = Strings.parseInt(arg[i + 1], gl30Minor);
gl30 = true;
}
case "glMinor" -> {
gl30Minor = Strings.parseInt(arg[i + 1], gl30Minor);
gl30 = true;
}
case "gl3" -> gl30 = true;
case "gl2" -> gl30 = false;