disabled gl30

This commit is contained in:
Anuken
2022-05-13 20:55:49 -04:00
parent 4b86d4cf6d
commit ad5e4f2556
5 changed files with 20 additions and 13 deletions

View File

@@ -41,8 +41,10 @@ public class DesktopLauncher extends ClientLauncher{
maximized = true;
width = 900;
height = 700;
//gl30 now default, disable with argument.
gl30 = !Structs.contains(arg, "-gl2");
//enable gl3 with command-line argument (slower performance, apparently)
if(Structs.contains(arg, "-gl3")){
gl30 = true;
}
if(Structs.contains(arg, "-antialias")){
samples = 16;
}