From 87ec4225ac4506c7cd69a42501f44259aba54af6 Mon Sep 17 00:00:00 2001 From: Anuken Date: Wed, 10 Sep 2025 11:13:13 -0400 Subject: [PATCH] Attempt GL 2.1 before 2.0 --- desktop/src/mindustry/desktop/DesktopLauncher.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/desktop/src/mindustry/desktop/DesktopLauncher.java b/desktop/src/mindustry/desktop/DesktopLauncher.java index 6d45124e5d..62420c9156 100644 --- a/desktop/src/mindustry/desktop/DesktopLauncher.java +++ b/desktop/src/mindustry/desktop/DesktopLauncher.java @@ -51,16 +51,16 @@ public class DesktopLauncher extends ClientLauncher{ width = 900; height = 700; - //on Windows, Intel drivers might be buggy with OpenGL 3.x, so only use 2.0. See https://github.com/Anuken/Mindustry/issues/11041 + //on Windows, Intel drivers might be buggy with OpenGL 3.x, so only use 2.x. See https://github.com/Anuken/Mindustry/issues/11041 if(GpuDetect.isIntel){ coreProfile = false; - glVersions = new int[][]{{2, 0}}; + glVersions = new int[][]{{2, 1}, {2, 0}}; }else if(OS.isMac){ //MacOS supports 4.1 at most - glVersions = new int[][]{{4, 1}, {3, 2}, {2, 0}}; + glVersions = new int[][]{{4, 1}, {3, 2}, {2, 1}, {2, 0}}; }else{ //try essentially every OpenGL version - glVersions = new int[][]{{4, 6}, {4, 1}, {3, 3}, {3, 2}, {3, 1}, {2, 0}}; + glVersions = new int[][]{{4, 6}, {4, 5}, {4, 4}, {4, 1}, {3, 3}, {3, 2}, {3, 1}, {2, 1}, {2, 0}}; } for(int i = 0; i < arg.length; i++){