From 93d222e9b9e3f56d24a0b0f0cac412ab3e50b80a Mon Sep 17 00:00:00 2001 From: Boulay Mathias Date: Sat, 28 May 2022 12:28:24 +0200 Subject: [PATCH] Tweak the release date to use opengl 1 --- .../main/java/net/kdt/pojavlaunch/utils/OldVersionsUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/OldVersionsUtils.java b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/OldVersionsUtils.java index eb46e6beb..fd59eaa0f 100644 --- a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/OldVersionsUtils.java +++ b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/OldVersionsUtils.java @@ -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());