for gods sake don't casually usegl30=true

https://stackoverflow.com/questions/46753218/libgdx-should-i-use-gl30
This commit is contained in:
CuriousTorvald
2020-11-28 19:32:50 +09:00
committed by GitHub
parent bed6f74462
commit 807d67862c

View File

@@ -315,7 +315,7 @@ public class AppLoader implements ApplicationListener {
ShaderProgram.pedantic = false;
LwjglApplicationConfiguration appConfig = new LwjglApplicationConfiguration();
appConfig.useGL30 = true; // utilising some GL trickeries, need this to be TRUE
appConfig.useGL30 = false; // utilising some GL trickeries, need this to be TRUE
appConfig.vSyncEnabled = getConfigBoolean("usevsync");
appConfig.resizable = false;//true;
appConfig.width = getConfigInt("screenwidth");
@@ -1238,4 +1238,4 @@ public class AppLoader implements ApplicationListener {
public static long getTIME_T() {
return System.currentTimeMillis() / 1000L;
}
}
}