Intel GPU/OpenGL 2.x planet normals fix

This commit is contained in:
Anuken
2025-10-08 08:45:40 +09:00
parent 576b7f6b6b
commit a0cf5b7265
6 changed files with 22 additions and 7 deletions

View File

@@ -52,7 +52,7 @@ public class DesktopLauncher extends ClientLauncher{
height = 700;
//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.hasIntel && (!GpuDetect.hasAMD || !GpuDetect.hasNvidia)){
if(GpuDetect.hasIntel && !GpuDetect.hasAMD && !GpuDetect.hasNvidia){
allowGl30 = false;
coreProfile = false;
glVersions = new int[][]{{2, 1}, {2, 0}};