Fixed GL version arg parsing
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user