mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-14 07:05:40 -04:00
Tweak the release date to use opengl 1
This commit is contained in:
parent
fc40b3d4aa
commit
93d222e9b9
@ -26,7 +26,7 @@ public class OldVersionsUtils {
|
||||
}
|
||||
|
||||
try {
|
||||
String openGlVersion = new SimpleDateFormat("yyyy-MM-dd", Locale.ENGLISH).parse(creationDate.substring(0, creationDate.indexOf("T"))).before(new Date(2011-1900, 6, 7)) ? "1" : "2";
|
||||
String openGlVersion = new SimpleDateFormat("yyyy-MM-dd", Locale.ENGLISH).parse(creationDate.substring(0, creationDate.indexOf("T"))).before(new Date(2011-1900, 6, 8)) ? "1" : "2";
|
||||
ExtraCore.setValue(ExtraConstants.OPEN_GL_VERSION, openGlVersion);
|
||||
}catch (ParseException exception){
|
||||
Log.e("OPENGL SELECTION", exception.toString());
|
||||
|
Loading…
x
Reference in New Issue
Block a user