mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-05 18:30:22 -08:00
Minor desktop launcher args fix
This commit is contained in:
parent
0e87e53983
commit
01aa029052
1 changed files with 1 additions and 0 deletions
|
|
@ -76,6 +76,7 @@ public class DesktopLauncher extends ClientLauncher{
|
|||
String[] split = str.split("\\.");
|
||||
if(split.length == 2 && Strings.canParsePositiveInt(split[0]) && Strings.canParsePositiveInt(split[1])){
|
||||
glVersions = new int[][]{{Strings.parseInt(split[0]), Strings.parseInt(split[1])}};
|
||||
allowGl30 = true; //when a version is explicitly specified always allow GL 3
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue