mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 11:04:05 +09:00
for gods sake don't casually usegl30=true
https://stackoverflow.com/questions/46753218/libgdx-should-i-use-gl30
This commit is contained in:
@@ -315,7 +315,7 @@ public class AppLoader implements ApplicationListener {
|
|||||||
ShaderProgram.pedantic = false;
|
ShaderProgram.pedantic = false;
|
||||||
|
|
||||||
LwjglApplicationConfiguration appConfig = new LwjglApplicationConfiguration();
|
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.vSyncEnabled = getConfigBoolean("usevsync");
|
||||||
appConfig.resizable = false;//true;
|
appConfig.resizable = false;//true;
|
||||||
appConfig.width = getConfigInt("screenwidth");
|
appConfig.width = getConfigInt("screenwidth");
|
||||||
@@ -1238,4 +1238,4 @@ public class AppLoader implements ApplicationListener {
|
|||||||
public static long getTIME_T() {
|
public static long getTIME_T() {
|
||||||
return System.currentTimeMillis() / 1000L;
|
return System.currentTimeMillis() / 1000L;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user